Structure
See
https://discord.com/developers/docs/resources/message#message-object-message-structure
Extended by
Properties
id
id:
string
Defined in
channel_id
channel_id:
string
Defined in
author
author:
Structure
Defined in
content
content:
string
Defined in
timestamp
timestamp:
string
ISO8601 Timestamp
Defined in
edited_timestamp
edited_timestamp:
null
|string
ISO8601 Timestamp
Defined in
tts
tts:
boolean
Defined in
mention_everyone
mention_everyone:
boolean
Defined in
mentions
mentions:
Structure
[]
Defined in
mention_roles
mention_roles:
Structure
[]
Defined in
mention_channels?
optional
mention_channels:MentionStructure
[]
Defined in
attachments
attachments:
AttachmentStructure
[]
This does not exist without the intent
Defined in
embeds
embeds:
Structure
[]
This does not exist without the intent
Defined in
reactions
reactions:
ReactionStructure
[]
Defined in
nonce?
optional
nonce:string
|number
Defined in
pinned
pinned:
boolean
Defined in
webhook_id?
optional
webhook_id:string
Defined in
type
type:
MessageType
Defined in
activity?
optional
activity:ActivityStructure
Defined in
application?
optional
application:Partial
<Structure
>
Defined in
application_id?
optional
application_id:string
Defined in
flags?
optional
flags:number
Bitfield of MessageFlags
Defined in
message_reference?
optional
message_reference:ReferenceStructure
Defined in
message_snapshots?
optional
message_snapshots:SnapshotStructure
[]
Defined in
referenced_message?
optional
referenced_message:null
|Structure
Defined in
interaction_metadata?
optional
interaction_metadata:InteractionMetadataStructure
Defined in
interaction?
optional
interaction:InteractionStructure
Defined in
thread?
optional
thread:Structure
Defined in
components?
optional
components:Structure
[]
This does not exist without the intent
Defined in
sticker_items?
optional
sticker_items:ItemStructure
[]
Defined in
stickers?
optional
stickers:Structure
[]
Defined in
position?
optional
position:number
Defined in
role_subscription_data?
optional
role_subscription_data:SubscriptionDataStructure
Defined in
resolved?
optional
resolved:ResolvedDataStructure
Defined in
poll?
optional
poll:Structure
Defined in
call?
optional
call:CallStructure