Explicit values
This commit is contained in:
parent
f4ad6e85ea
commit
7248e0673e
1 changed files with 9 additions and 9 deletions
18
message.go
18
message.go
|
@ -179,23 +179,23 @@ type MessageFlags int
|
||||||
// Valid MessageFlags values
|
// Valid MessageFlags values
|
||||||
const (
|
const (
|
||||||
// MessageFlagsCrossPosted This message has been published to subscribed channels (via Channel Following).
|
// MessageFlagsCrossPosted This message has been published to subscribed channels (via Channel Following).
|
||||||
MessageFlagsCrossPosted MessageFlags = 1 << iota
|
MessageFlagsCrossPosted MessageFlags = 1 << 0
|
||||||
// MessageFlagsIsCrossPosted this message originated from a message in another channel (via Channel Following).
|
// MessageFlagsIsCrossPosted this message originated from a message in another channel (via Channel Following).
|
||||||
MessageFlagsIsCrossPosted
|
MessageFlagsIsCrossPosted MessageFlags = 1 << 1
|
||||||
// MessageFlagsSupressEmbeds do not include any embeds when serializing this message.
|
// MessageFlagsSupressEmbeds do not include any embeds when serializing this message.
|
||||||
MessageFlagsSupressEmbeds
|
MessageFlagsSupressEmbeds MessageFlags = 1 << 2
|
||||||
// MessageFlagsSourceMessageDeleted the source message for this crosspost has been deleted (via Channel Following).
|
// MessageFlagsSourceMessageDeleted the source message for this crosspost has been deleted (via Channel Following).
|
||||||
MessageFlagsSourceMessageDeleted
|
MessageFlagsSourceMessageDeleted MessageFlags = 1 << 3
|
||||||
// MessageFlagsUrgent this message came from the urgent message system.
|
// MessageFlagsUrgent this message came from the urgent message system.
|
||||||
MessageFlagsUrgent
|
MessageFlagsUrgent MessageFlags = 1 << 4
|
||||||
// MessageFlagsHasThread this message has an associated thread, with the same id as the message.
|
// MessageFlagsHasThread this message has an associated thread, with the same id as the message.
|
||||||
MessageFlagsHasThread
|
MessageFlagsHasThread MessageFlags = 1 << 5
|
||||||
// MessageFlagsEphemeral this message is only visible to the user who invoked the Interaction.
|
// MessageFlagsEphemeral this message is only visible to the user who invoked the Interaction.
|
||||||
MessageFlagsEphemeral
|
MessageFlagsEphemeral MessageFlags = 1 << 6
|
||||||
// MessageFlagsLoading this message is an Interaction Response and the bot is "thinking".
|
// MessageFlagsLoading this message is an Interaction Response and the bot is "thinking".
|
||||||
MessageFlagsLoading
|
MessageFlagsLoading MessageFlags = 1 << 7
|
||||||
// MessageFlagsFailedToMentionSomeRolesInThread this message failed to mention some roles and add their members to the thread.
|
// MessageFlagsFailedToMentionSomeRolesInThread this message failed to mention some roles and add their members to the thread.
|
||||||
MessageFlagsFailedToMentionSomeRolesInThread
|
MessageFlagsFailedToMentionSomeRolesInThread MessageFlags = 1 << 8
|
||||||
)
|
)
|
||||||
|
|
||||||
// File stores info about files you e.g. send in messages.
|
// File stores info about files you e.g. send in messages.
|
||||||
|
|
Loading…
Reference in a new issue