InteractionType
TheInteractionType enum represents the type of interaction this request is from Discord.
Enum Values
PING
Value:1
A ping interaction sent by Discord to verify your endpoint.
APPLICATION_COMMAND
Value:2
A command invocation interaction, triggered when a user uses a slash command, user command, or message command.
MESSAGE_COMPONENT
Value:3
An interaction triggered by usage of a message’s component (buttons, select menus, etc.).
APPLICATION_COMMAND_AUTOCOMPLETE
Value:4
An interaction sent when an application command option is filled out and autocomplete is triggered.
MODAL_SUBMIT
Value:5
An interaction sent when a modal is submitted by a user.