@discord-types/interaction
API reference for @discord-types/interaction
@discord-types/interaction
Types
InteractionType
Raw Type
type InteractionType = "Ping" | "ApplicationCommand" | "MessageComponent" | "ApplicationCommandAutocomplete" | "ModalSubmit"
Union with variants:
Variant 1
"Ping"
Variant 2
"ApplicationCommand"
Variant 3
"MessageComponent"
Variant 4
"ApplicationCommandAutocomplete"
Variant 5
"ModalSubmit"
InteractionCallbackType
Raw Type
type InteractionCallbackType = "Pong" | "ChannelMessageWithSource" | "DeferredChannelMessageWithSource" | "DeferredUpdateMessage" | "UpdateMessage" | "ApplicationCommandAutocompleteResult" | "Modal" | "PremiumRequired" | "LaunchActivity"
Union with variants:
Variant 1
"Pong"
Variant 2
"ChannelMessageWithSource"
Variant 3
"DeferredChannelMessageWithSource"
Variant 4
"DeferredUpdateMessage"
Variant 5
"UpdateMessage"
Variant 6
"ApplicationCommandAutocompleteResult"
Variant 7
"Modal"
Variant 8
"PremiumRequired"
Variant 9
"LaunchActivity"
ComponentTypes
Raw Type
type ComponentTypes = "ActionRow" | "Button" | "StringSelect" | "TextInput" | "UserSelect" | "RoleSelect" | "MentionableSelect" | "ChannelSelect"
Union with variants:
Variant 1
"ActionRow"
Variant 2
"Button"
Variant 3
"StringSelect"
Variant 4
"TextInput"
Variant 5
"UserSelect"
Variant 6
"RoleSelect"
Variant 7
"MentionableSelect"
Variant 8
"ChannelSelect"
ApplicationCommandOptionType
Raw Type
type ApplicationCommandOptionType = "SubCommand" | "SubCommandGroup" | "String" | "Integer" | "Boolean" | "User" | "Channel" | "Role" | "Mentionable" | "Number" | "Attachment"
Union with variants:
Variant 1
"SubCommand"
Variant 2
"SubCommandGroup"
Variant 3
"String"
Variant 4
"Integer"
Variant 5
"Boolean"
Variant 6
"User"
Variant 7
"Channel"
Variant 8
"Role"
Variant 9
"Mentionable"
Variant 10
"Number"
Variant 11
"Attachment"
ApplicationCommandType
Raw Type
type ApplicationCommandType = "ChatInput" | "User" | "Message" | "PrimaryEntryPoiant"
Union with variants:
Variant 1
"ChatInput"
Variant 2
"User"
Variant 3
"Message"
Variant 4
"PrimaryEntryPoiant"
InteractionContextType
Raw Type
type InteractionContextType = "Guild" | "BotDm" | "PrivateChannel"
Union with variants:
Variant 1
"Guild"
Variant 2
"BotDm"
Variant 3
"PrivateChannel"
Last updated on