Search
Preparing search index...
The search index is not available
Avocord
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Avocord
ComponentInteraction
Class ComponentInteraction
Hierarchy
BaseInteraction
ComponentInteraction
Index
Constructors
constructor
Properties
client
data
Accessors
app
Id
channel
Id
guild
Locale
id
locale
member
message
token
type
user
version
Methods
defer
delete
Original
raw
Respond
reply
reply
With
Modal
update
Message
Constructors
constructor
new
Component
Interaction
(
data
:
APIInteraction
, client
:
Client
)
:
ComponentInteraction
Parameters
data:
APIInteraction
client:
Client
Returns
ComponentInteraction
Properties
client
client
:
Client
data
data
:
APIMessageComponentInteraction
Accessors
app
Id
get
appId
(
)
:
string
Returns
string
channel
Id
get
channelId
(
)
:
undefined
|
string
Returns
undefined
|
string
guild
Locale
get
guildLocale
(
)
:
undefined
|
"en-US"
|
"en-GB"
|
"bg"
|
"zh-CN"
|
"zh-TW"
|
"hr"
|
"cs"
|
"da"
|
"nl"
|
"fi"
|
"fr"
|
"de"
|
"el"
|
"hi"
|
"hu"
|
"it"
|
"ja"
|
"ko"
|
"lt"
|
"no"
|
"pl"
|
"pt-BR"
|
"ro"
|
"ru"
|
"es-ES"
|
"sv-SE"
|
"th"
|
"tr"
|
"uk"
|
"vi"
Returns
undefined
|
"en-US"
|
"en-GB"
|
"bg"
|
"zh-CN"
|
"zh-TW"
|
"hr"
|
"cs"
|
"da"
|
"nl"
|
"fi"
|
"fr"
|
"de"
|
"el"
|
"hi"
|
"hu"
|
"it"
|
"ja"
|
"ko"
|
"lt"
|
"no"
|
"pl"
|
"pt-BR"
|
"ro"
|
"ru"
|
"es-ES"
|
"sv-SE"
|
"th"
|
"tr"
|
"uk"
|
"vi"
id
get
id
(
)
:
string
Returns
string
locale
get
locale
(
)
:
"en-US"
|
"en-GB"
|
"bg"
|
"zh-CN"
|
"zh-TW"
|
"hr"
|
"cs"
|
"da"
|
"nl"
|
"fi"
|
"fr"
|
"de"
|
"el"
|
"hi"
|
"hu"
|
"it"
|
"ja"
|
"ko"
|
"lt"
|
"no"
|
"pl"
|
"pt-BR"
|
"ro"
|
"ru"
|
"es-ES"
|
"sv-SE"
|
"th"
|
"tr"
|
"uk"
|
"vi"
Returns
"en-US"
|
"en-GB"
|
"bg"
|
"zh-CN"
|
"zh-TW"
|
"hr"
|
"cs"
|
"da"
|
"nl"
|
"fi"
|
"fr"
|
"de"
|
"el"
|
"hi"
|
"hu"
|
"it"
|
"ja"
|
"ko"
|
"lt"
|
"no"
|
"pl"
|
"pt-BR"
|
"ro"
|
"ru"
|
"es-ES"
|
"sv-SE"
|
"th"
|
"tr"
|
"uk"
|
"vi"
member
get
member
(
)
:
undefined
|
APIInteractionGuildMember
Returns
undefined
|
APIInteractionGuildMember
message
get
message
(
)
:
undefined
|
APIMessage
Returns
undefined
|
APIMessage
token
get
token
(
)
:
string
Returns
string
type
get
type
(
)
:
InteractionType
Returns
InteractionType
user
get
user
(
)
:
undefined
|
APIUser
Returns
undefined
|
APIUser
version
get
version
(
)
:
1
Returns
1
Methods
defer
defer
(
data
:
undefined
|
<internal>
.
InteractionCallbackData
)
:
Promise
<
void
>
Parameters
data:
undefined
|
<internal>
.
InteractionCallbackData
Returns
Promise
<
void
>
delete
Original
delete
Original
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
raw
Respond
raw
Respond
(
data
:
<internal>
.
InteractionResponse
)
:
Promise
<
void
>
Parameters
data:
<internal>
.
InteractionResponse
Returns
Promise
<
void
>
reply
reply
(
data
:
undefined
|
<internal>
.
InteractionCallbackData
)
:
Promise
<
void
>
Parameters
data:
undefined
|
<internal>
.
InteractionCallbackData
Returns
Promise
<
void
>
reply
With
Modal
reply
With
Modal
(
data
:
undefined
|
<internal>
.
InteractionCallbackData
)
:
Promise
<
void
>
Parameters
data:
undefined
|
<internal>
.
InteractionCallbackData
Returns
Promise
<
void
>
update
Message
update
Message
(
data
:
undefined
|
<internal>
.
InteractionCallbackData
)
:
Promise
<
void
>
Parameters
data:
undefined
|
<internal>
.
InteractionCallbackData
Returns
Promise
<
void
>
Exports
<internal>
Component
Interaction
constructor
client
data
app
Id
channel
Id
guild
Locale
id
locale
member
message
token
type
user
version
defer
delete
Original
raw
Respond
reply
reply
With
Modal
update
Message
Generated using
TypeDoc