Optional
applicationThe application this interaction is for.
The ID of the application this interaction is for.
The ID of the channel this interaction was sent from.
The data associated with the interaction.
The entitlements for the user that created this interaction, and the guild it was created in.
The locale of the invoking user.
The token of this interaction.
The user that invoked this interaction.
Read-only property, always 1
Whether this interaction belongs to a cached guild channel. The only difference on using this method over a simple if statement is to easily update all the interaction properties typing definitions based on the channel it belongs to.
Whether this interaction belongs to a private channel (PrivateChannel or uncached). The only difference on using this method over a simple if statement is to easily update all the interaction properties typing definitions based on the channel it belongs to.
A type guard, checking if this interaction is an Autocomplete Interaction.
A type guard, checking if this interaction is a Command Interaction.
A type guard, checking if this interaction is a Component Interaction.
A type guard, checking if this interaction is a Modal Submit Interaction.
A type guard, checking if this interaction is a Ping Interaction.
Acknowledge this interaction with a set of choices. This is an initial response, and more than one initial response cannot be used.
The choices to send.
If this interaction has been acknowledged.