Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
ComponentInteraction
Class ComponentInteraction<T>
Type parameters
T
:
PossiblyUncachedTextable
=
TextableChannel
Hierarchy
Interaction
ComponentInteraction
Index
Constructors
constructor
Properties
acknowledged
app
Permissions
applicationID
channel
created
At
data
guildID
id
member
message
token
type
user
version
Methods
acknowledge
create
Followup
create
Message
defer
defer
Update
delete
Message
delete
Original
Message
edit
Message
edit
Original
Message
edit
Parent
get
Original
Message
inspect
toJSON
to
String
from
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Component
Interaction<T>
(
id
:
string
)
:
ComponentInteraction
<
T
>
Type parameters
T
:
PossiblyUncachedTextable
=
TextableChannel
Parameters
id:
string
Returns
ComponentInteraction
<
T
>
Properties
acknowledged
acknowledged
:
boolean
Optional
app
Permissions
app
Permissions
:
Permission
applicationID
applicationID
:
string
channel
channel
:
T
created
At
created
At
:
number
data
data
:
ComponentInteractionButtonData
|
ComponentInteractionSelectMenuData
Optional
guildID
guildID
:
string
id
id
:
string
Optional
member
member
:
Member
message
message
:
Message
<
TextableChannel
>
token
token
:
string
type
type
:
3
Optional
user
user
:
User
version
version
:
number
Methods
acknowledge
acknowledge
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
create
Followup
create
Followup
(
content
:
string
|
InteractionContent
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
Message
<
TextableChannel
>
>
Parameters
content:
string
|
InteractionContent
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
Message
<
TextableChannel
>
>
create
Message
create
Message
(
content
:
string
|
InteractionContent
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
void
>
Parameters
content:
string
|
InteractionContent
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
void
>
defer
defer
(
flags
?:
number
)
:
Promise
<
void
>
Parameters
Optional
flags:
number
Returns
Promise
<
void
>
defer
Update
defer
Update
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
Message
delete
Message
(
messageID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Returns
Promise
<
void
>
delete
Original
Message
delete
Original
Message
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
edit
Message
edit
Message
(
messageID
:
string
, content
:
string
|
InteractionContentEdit
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
Message
<
TextableChannel
>
>
Parameters
messageID:
string
content:
string
|
InteractionContentEdit
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
Message
<
TextableChannel
>
>
edit
Original
Message
edit
Original
Message
(
content
:
string
|
InteractionContentEdit
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
Message
<
TextableChannel
>
>
Parameters
content:
string
|
InteractionContentEdit
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
Message
<
TextableChannel
>
>
edit
Parent
edit
Parent
(
content
:
InteractionContentEdit
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
void
>
Parameters
content:
InteractionContentEdit
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
void
>
get
Original
Message
get
Original
Message
(
)
:
Promise
<
Message
<
TextableChannel
>
>
Returns
Promise
<
Message
<
TextableChannel
>
>
inspect
inspect
(
)
:
ComponentInteraction
<
T
>
Returns
ComponentInteraction
<
T
>
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
Static
from
from
(
data
:
BaseData
)
:
AnyInteraction
Parameters
data:
BaseData
Returns
AnyInteraction
Static
get
Created
At
get
Created
At
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Static
get
Discord
Epoch
get
Discord
Epoch
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Exports
Externals
Eris
Component
Interaction
constructor
acknowledged
app
Permissions
applicationID
channel
created
At
data
guildID
id
member
message
token
type
user
version
acknowledge
create
Followup
create
Message
defer
defer
Update
delete
Message
delete
Original
Message
edit
Message
edit
Original
Message
edit
Parent
get
Original
Message
inspect
toJSON
to
String
from
get
Created
At
get
Discord
Epoch
Generated using
TypeDoc