BaseContext
↳ AutocompleteCommandContext
client
, data
): AutocompleteCommandContext
Initializes a new instance of the APIApplicationCommandAutocompleteInteraction class.
Name | Type | Description |
---|---|---|
client | YorClient | The client object. |
data | APIApplicationCommandAutocompleteInteraction | The data used to initialize the instance. |
AutocompleteCommandContext
Private
API: InteractionsAPI
Readonly
applicationId: string
Channel
YorClient
Readonly
interactionId: string
Readonly
raw: APIApplicationCommandAutocompleteInteraction
Readonly
token: string
name
, data
): unknown
Decorates the object with a new property.
Name | Type | Description |
---|---|---|
name | string | The name of the property. |
data | unknown | The data to assign to the property. |
unknown
The decorated object.
data
): Promise
<void
>
Name | Type |
---|---|
data | APICommandAutocompleteInteractionResponseCallbackData |
Promise
<void
>