Skip to main content

Module interaction

Module interaction 

Source
Expand description

Interaction commands (specification §8.14): interaction.create from members, and the bot’s interaction.respond, follow-ups and original edits.

Structs§

Create
interaction.create.
Created
interaction.create response.
Followup
interaction.followup and interaction.original.edit.
OriginalDelete
interaction.original.delete.
OriginalEdit
interaction.original.edit: absent fields stay unchanged.
Replied
interaction.respond and interaction.followup response.
Respond
interaction.respond.

Enums§

CreateData
interaction.create data, by type.
ResponseData
Response data, by type.
ResponseType
Interaction response types (Discord’s callback numbers).