Enum MessageType
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Specifies the type of message.
public enum MessageType
Fields
ApplicationCommand = 20
The message is an Application Command.
AutoModerationAction = 24
The message for an automod action.
Call = 3
The message when a user is called.
ChannelFollowAdd = 12
The message for when a news channel subscription is added to a text channel.
ChannelIconChange = 5
The message when a channel icon is changed.
ChannelNameChange = 4
The message when a channel name is changed.
ChannelPinnedMessage = 6
The message when another message is pinned.
ContextMenuCommand = 23
The message for a context menu command.
Default = 0
The default message type.
GuildApplicationPremiumSubscription = 32
The message for a guild application premium subscription.
GuildDiscoveryDisqualified = 14
The message for when a guild is disqualified from discovery.
GuildDiscoveryGracePeriodFinalWarning = 17
The message for when the final warning is sent for the initial grace period discovery.
GuildDiscoveryGracePeriodInitialWarning = 16
The message for when the initial warning is sent for the initial grace period discovery.
GuildDiscoveryRequalified = 15
The message for when a guild is requalified for discovery.
GuildInviteReminder = 22
The message for an invite reminder.
GuildMemberJoin = 7
The message when a new member joined.
IncidentAlertModeDisabled = 37
The message for incident alert mode disabled.
IncidentAlertModeEnabled = 36
The message for incident alert mode enabled.
IncidentReportFalseAlarm = 39
The message for incident report false alarm.
IncidentReportRaid = 38
The message for incident report raid.
InteractionPremiumUpsell = 26
The message for an interaction premium upsell.
PurchaseNotification = 44
The message is a purchase notification.
RecipientAdd = 1
The message when a recipient is added.
RecipientRemove = 2
The message when a recipient is removed.
Reply = 19
The message is an inline reply.
RoleSubscriptionPurchase = 25
The message for a role subscription purchase.
StageEnd = 28
The message for a stage end.
StageRaiseHand = 30
The message for a stage raise hand.
StageSpeaker = 29
The message for a stage speaker.
StageStart = 27
The message for a stage start.
StageTopic = 31
The message for a stage raise hand.
ThreadCreated = 18
The message for when a thread is created.
ThreadStarterMessage = 21
The message that starts a thread.
UserPremiumGuildSubscription = 8
The message for when a user boosts a guild.
UserPremiumGuildSubscriptionTier1 = 9
The message for when a guild reaches Tier 1 of Nitro boosts.
UserPremiumGuildSubscriptionTier2 = 10
The message for when a guild reaches Tier 2 of Nitro boosts.
UserPremiumGuildSubscriptionTier3 = 11
The message for when a guild reaches Tier 3 of Nitro boosts.