Interaction
class Interaction(val data: MessageInteractionData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity, Strategizable(source)
An instance of MessageInteraction
This is sent on the Message object when the message is a response to an ActionInteraction.
Constructors
Link copied to clipboard
constructor(data: MessageInteractionData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)
Properties
Link copied to clipboard
Link copied to clipboard
Id of the ActionInteraction this message is responding to.
Link copied to clipboard
The name of the ApplicationCommand that triggered this message. This name includes subcommands and subcommand groups.
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
The InteractionType of the interaction Interaction.
Link copied to clipboard
The UserBehavior of the user who invoked the ActionInteraction.
Functions
Link copied to clipboard
Requests to get the user of this interaction message, returns null if the User isn't present.
Link copied to clipboard