Skip to content

ButtonInteraction

ButtonInteraction ⇐ MessageComponentInteraction

Represents a button interaction, extending the MessageComponentInteraction class.

Kind: global class
Extends: MessageComponentInteraction

new ButtonInteraction([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing information about the interaction.
guildIdstringThe ID of the guild where the interaction occurred.
clientClientThe client instance associated with the interaction.