enum Discord::MessageType

Defined in:

discordcr/mappings/channel.cr

Enum Members

Default = 0_u8
RecipientAdd = 1_u8
RecipientRemove = 2_u8
Call = 3_u8
ChannelNameChange = 4_u8
ChannelIconChange = 5_u8
ChannelPinnedMessage = 6_u8
GuildMemberJoin = 7_u8
UserPremiumGuildSubscription = 8_u8
UserPremiumGuildSubscriptionTier1 = 9_u8
UserPremiumGuildSubscriptionTier2 = 10_u8
UserPremiumGuildSubscriptionTier3 = 11_u8
ChannelFollowAdd = 12_u8
GuildDiscoveryDisqualified = 14_u8
GuildDiscoveryRequalified = 15_u8
GuildDiscoveryGracePeriodInitialWarning = 16_u8
GuildDiscoveryGracePeriodFinalWarning = 17_u8
ThreadCreated = 18_u8
Reply = 19_u8
ApplicationCommand = 20_u8
ThreadStarterMessage = 21_u8
GuildInviteReminder = 22_u8

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def application_command? #

[View source]
def call? #

[View source]
def channel_follow_add? #

[View source]
def channel_icon_change? #

[View source]
def channel_name_change? #

[View source]
def channel_pinned_message? #

[View source]
def default? #

[View source]
def guild_discovery_disqualified? #

[View source]
def guild_discovery_grace_period_final_warning? #

[View source]
def guild_discovery_grace_period_initial_warning? #

[View source]
def guild_discovery_requalified? #

[View source]
def guild_invite_reminder? #

[View source]
def guild_member_join? #

[View source]
def recipient_add? #

[View source]
def recipient_remove? #

[View source]
def reply? #

[View source]
def thread_created? #

[View source]
def thread_starter_message? #

[View source]
def user_premium_guild_subscription? #

[View source]
def user_premium_guild_subscription_tier1? #

[View source]
def user_premium_guild_subscription_tier2? #

[View source]
def user_premium_guild_subscription_tier3? #

[View source]