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