ContextMenuInteraction
ContextMenuInteraction ⇐ ApplicationCommandInteraction
Represents a context menu interaction, extending the base ApplicationCommandInteraction class.
Kind: global class
Extends: ApplicationCommandInteraction
Properties
Name | Type | Description |
---|---|---|
targetId | string | null | The ID of the target of the interaction, if available. |
resolved | Object | null | The resolved data of the interaction, if available. |
new ContextMenuInteraction([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. |