MessageFlags
MessageFlags ⇐ Bitfield
Section titled “MessageFlags ⇐ Bitfield”Represents a bitfield for Discord message flags.
Kind: global class
Extends: Bitfield
- MessageFlags ⇐
Bitfield- new MessageFlags(…bit)
- .Default :
bigint - .All ⇒
- .Flags :
enum
new MessageFlags(…bit)
Section titled “new MessageFlags(…bit)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| …bit | bigint | The arguments to pass to the superclass constructor. |
MessageFlags.Default : bigint
Section titled “MessageFlags.Default : bigint”Sets the default value for the MessageFlags to 0n.
Kind: static property of MessageFlags
Read only: true
MessageFlags.All ⇒
Section titled “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.
| Param | Type | Description |
|---|---|---|
| All | bigint | All bit value. |
MessageFlags.Flags : enum
Section titled “MessageFlags.Flags : enum”Represents the different flags that can be applied to a message.
Kind: static enum of MessageFlags
Read only: true
Properties
| Name | Type | Default |
|---|---|---|
| Crossposted | bigint | |
| Is_Crosspost | bigint | |
| Suppress_Embeds | bigint | |
| Source_Message_Deleted | bigint | |
| Urgent | bigint | |
| Has_Thread | bigint | |
| Ephemeral | bigint | |
| Loading | bigint | |
| Failed_To_Mention_Some_Roles_In_Thread | bigint | |
| Suppress_Notifications | bigint | |
| Is_Voice_Message | bigint | |