Skip to content

MessageFlags

MessageFlags ⇐ Bitfield

Represents a bitfield for Discord message flags.

Kind: global class
Extends: Bitfield

new MessageFlags(…bit)

Constructs a new instance of the class.

ParamTypeDescription
…bitbigintThe arguments to pass to the superclass constructor.

MessageFlags.Default : bigint

Sets the default value for the MessageFlags to 0n.

Kind: static property of MessageFlags
Read only: true

MessageFlags.All ⇒

Combines all the values of the MessageFlags.Flags object using a bitwise OR operation and assigns the result to the MessageFlags.All property.

Kind: static property of MessageFlags
Returns: The calculated value of Intents.All.

ParamTypeDescription
AllbigintAll bit value.

MessageFlags.Flags : enum

Represents the different flags that can be applied to a message.

Kind: static enum of MessageFlags
Read only: true
Properties

NameTypeDefault
Crosspostedbigint
Is_Crosspostbigint
Suppress_Embedsbigint
Source_Message_Deletedbigint
Urgentbigint
Has_Threadbigint
Ephemeralbigint
Loadingbigint
Failed_To_Mention_Some_Roles_In_Threadbigint
Suppress_Notificationsbigint
Is_Voice_Messagebigint