Represents a Component Interaction.

Type Parameters

Hierarchy (view full)

  • Base<string>
    • ComponentInteraction

Constructors

Properties

_lastMessageID: null | string

ID of the last message created with this interaction.

acknowledged: boolean

Interaction acknowledgement.

channel: null | T

Channel on which the interaction was sent, if cached.

channelID: string

ID of the channel on which the interaction was sent.

client: Client

App's client.

Component Interaction Data

guildID: null | (T extends TextChannel
    ? string
    : null | string)

ID of the server on which the interaction was sent.

id: string

Item ID

memberID: string

ID of the interaction author.

message: null | Message<T>

Interaction Message, triggering this interaction, if cached.

messageID: string

ID of the Interaction Message, triggering this interaction.

originalID: null | string

ID of the original response of this interaction, if existant.

Methods