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?
optionalmention_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?
optionalnonce:string|number
Defined in
pinned
pinned:
boolean
Defined in
webhook_id?
optionalwebhook_id:string
Defined in
type
type:
MessageType
Defined in
activity?
optionalactivity:ActivityStructure
Defined in
application?
optionalapplication:Partial<Structure>
Defined in
application_id?
optionalapplication_id:string
Defined in
flags?
optionalflags:number
Bitfield of MessageFlags
Defined in
message_reference?
optionalmessage_reference:ReferenceStructure
Defined in
message_snapshots?
optionalmessage_snapshots:SnapshotStructure[]
Defined in
referenced_message?
optionalreferenced_message:null|Structure
Defined in
interaction_metadata?
optionalinteraction_metadata:InteractionMetadataStructure
Defined in
interaction?
optionalinteraction:InteractionStructure
Defined in
thread?
optionalthread:Structure
Defined in
components?
optionalcomponents:Structure[]
This does not exist without the intent
Defined in
sticker_items?
optionalsticker_items:ItemStructure[]
Defined in
stickers?
optionalstickers:Structure[]
Defined in
position?
optionalposition:number
Defined in
role_subscription_data?
optionalrole_subscription_data:SubscriptionDataStructure
Defined in
resolved?
optionalresolved:ResolvedDataStructure
Defined in
poll?
optionalpoll:Structure
Defined in
call?
optionalcall:CallStructure