A simple object that binds to an interaction message.
new InteractionMessage(interaction, id = '@original');
Parameter
Type
Required
Default
Description
interaction
Interaction
true
none
The interaction this message is attached to.
id
string
the id of this message.
The ID of this command. Type: string
The handler used. Type: SlashCommandHandler
async edit(...messages: InteractionMessageType[])
Edit an interaction message Returns: void
async delete()
Delete the interaction message Returns: void
Last updated 5 years ago