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.
Param | Type | Description |
---|---|---|
[data] | Object | The data object containing information about the interaction. |
guildId | string | The ID of the guild where the interaction occurred. |
client | Client | The client instance associated with the interaction. |