Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
Message
Class Message<T>
Type parameters
T
:
PossiblyUncachedTextable
=
TextableChannel
Hierarchy
Base
Message
Index
Constructors
constructor
Properties
activity
application
attachments
author
channel
channel
Mentions
clean
Content
command
content
created
At
edited
Timestamp
embeds
flags
guildID
id
interaction
jump
Link
member
mention
Everyone
mentions
message
Reference
pinned
prefix
reactions
referenced
Message
role
Mentions
stickers
timestamp
tts
type
webhookID
Methods
add
Reaction
crosspost
delete
delete
Webhook
edit
edit
Webhook
get
Reaction
inspect
pin
remove
Reaction
remove
Reaction
Emoji
remove
Reactions
toJSON
to
String
unpin
get
Created
At
Constructors
constructor
new
Message<T>
(
data
:
BaseData
, client
:
Client
)
:
Message
<
T
>
Type parameters
T
:
PossiblyUncachedTextable
=
TextableChannel
Parameters
data:
BaseData
client:
Client
Returns
Message
<
T
>
Properties
Optional
activity
activity
:
MessageActivity
Optional
application
application
:
MessageApplication
attachments
attachments
:
Attachment
[]
author
author
:
User
channel
channel
:
T
channel
Mentions
channel
Mentions
:
string
[]
clean
Content
clean
Content
:
string
deprecated
Optional
command
command
:
Command
content
content
:
string
created
At
created
At
:
number
Optional
edited
Timestamp
edited
Timestamp
:
number
embeds
embeds
:
Embed
[]
flags
flags
:
number
guildID
guildID
:
T
extends
GuildTextable
?
string
:
undefined
id
id
:
string
interaction
interaction
:
null
|
MessageInteraction
jump
Link
jump
Link
:
string
member
member
:
T
extends
GuildTextable
?
Member
:
null
mention
Everyone
mention
Everyone
:
boolean
mentions
mentions
:
User
[]
message
Reference
message
Reference
:
null
|
MessageReference
pinned
pinned
:
boolean
Optional
prefix
prefix
:
string
reactions
reactions
:
{}
Type declaration
[
s:
string
]:
{
count
:
number
;
me
:
boolean
}
count
:
number
me
:
boolean
Optional
referenced
Message
referenced
Message
:
null
|
Message
<
TextableChannel
>
role
Mentions
role
Mentions
:
string
[]
Optional
stickers
stickers
:
Sticker
[]
timestamp
timestamp
:
number
tts
tts
:
boolean
type
type
:
number
webhookID
webhookID
:
T
extends
GuildTextable
?
undefined
|
string
:
undefined
Methods
add
Reaction
add
Reaction
(
reaction
:
string
)
:
Promise
<
void
>
add
Reaction
(
reaction
:
string
, userID
:
string
)
:
Promise
<
void
>
Parameters
reaction:
string
Returns
Promise
<
void
>
deprecated
Parameters
reaction:
string
userID:
string
Returns
Promise
<
void
>
crosspost
crosspost
(
)
:
Promise
<
T
extends
NewsChannel
?
Message
<
NewsChannel
>
:
never
>
Returns
Promise
<
T
extends
NewsChannel
?
Message
<
NewsChannel
>
:
never
>
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason:
string
Returns
Promise
<
void
>
delete
Webhook
delete
Webhook
(
token
:
string
)
:
Promise
<
void
>
Parameters
token:
string
Returns
Promise
<
void
>
edit
edit
(
content
:
MessageContent
)
:
Promise
<
Message
<
T
>
>
Parameters
content:
MessageContent
Returns
Promise
<
Message
<
T
>
>
edit
Webhook
edit
Webhook
(
token
:
string
, options
:
MessageWebhookContent
)
:
Promise
<
Message
<
T
>
>
Parameters
token:
string
options:
MessageWebhookContent
Returns
Promise
<
Message
<
T
>
>
get
Reaction
get
Reaction
(
reaction
:
string
, options
?:
GetMessageReactionOptions
)
:
Promise
<
User
[]
>
get
Reaction
(
reaction
:
string
, limit
?:
number
, before
?:
string
, after
?:
string
)
:
Promise
<
User
[]
>
Parameters
reaction:
string
Optional
options:
GetMessageReactionOptions
Returns
Promise
<
User
[]
>
deprecated
Parameters
reaction:
string
Optional
limit:
number
Optional
before:
string
Optional
after:
string
Returns
Promise
<
User
[]
>
inspect
inspect
(
)
:
Message
<
T
>
Returns
Message
<
T
>
pin
pin
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
remove
Reaction
remove
Reaction
(
reaction
:
string
, userID
?:
string
)
:
Promise
<
void
>
Parameters
reaction:
string
Optional
userID:
string
Returns
Promise
<
void
>
remove
Reaction
Emoji
remove
Reaction
Emoji
(
reaction
:
string
)
:
Promise
<
void
>
Parameters
reaction:
string
Returns
Promise
<
void
>
remove
Reactions
remove
Reactions
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
unpin
unpin
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
get
Created
At
get
Created
At
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Exports
Externals
Eris
Message
constructor
activity
application
attachments
author
channel
channel
Mentions
clean
Content
command
content
created
At
edited
Timestamp
embeds
flags
guildID
id
interaction
jump
Link
member
mention
Everyone
mentions
message
Reference
pinned
prefix
reactions
referenced
Message
role
Mentions
stickers
timestamp
tts
type
webhookID
add
Reaction
crosspost
delete
delete
Webhook
edit
edit
Webhook
get
Reaction
inspect
pin
remove
Reaction
remove
Reaction
Emoji
remove
Reactions
toJSON
to
String
unpin
get
Created
At
Generated using
TypeDoc