Skip to content

Structure

See

https://discord.com/developers/docs/resources/message#message-object-message-structure

Extended by

Properties

id

id: string

Defined in

typings/message.ts:21


channel_id

channel_id: string

Defined in

typings/message.ts:22


author

author: Structure

Defined in

typings/message.ts:23


content

content: string

Defined in

typings/message.ts:25


timestamp

timestamp: string

ISO8601 Timestamp

Defined in

typings/message.ts:27


edited_timestamp

edited_timestamp: null | string

ISO8601 Timestamp

Defined in

typings/message.ts:29


tts

tts: boolean

Defined in

typings/message.ts:30


mention_everyone

mention_everyone: boolean

Defined in

typings/message.ts:31


mentions

mentions: Structure[]

Defined in

typings/message.ts:32


mention_roles

mention_roles: Structure[]

Defined in

typings/message.ts:33


mention_channels?

optional mention_channels: MentionStructure[]

Defined in

typings/message.ts:34


attachments

attachments: AttachmentStructure[]

This does not exist without the intent

Defined in

typings/message.ts:36


embeds

embeds: Structure[]

This does not exist without the intent

Defined in

typings/message.ts:38


reactions

reactions: ReactionStructure[]

Defined in

typings/message.ts:39


nonce?

optional nonce: string | number

Defined in

typings/message.ts:40


pinned

pinned: boolean

Defined in

typings/message.ts:41


webhook_id?

optional webhook_id: string

Defined in

typings/message.ts:42


type

type: MessageType

Defined in

typings/message.ts:43


activity?

optional activity: ActivityStructure

Defined in

typings/message.ts:44


application?

optional application: Partial<Structure>

Defined in

typings/message.ts:45


application_id?

optional application_id: string

Defined in

typings/message.ts:46


flags?

optional flags: number

Bitfield of MessageFlags

Defined in

typings/message.ts:50


message_reference?

optional message_reference: ReferenceStructure

Defined in

typings/message.ts:51


message_snapshots?

optional message_snapshots: SnapshotStructure[]

Defined in

typings/message.ts:52


referenced_message?

optional referenced_message: null | Structure

Defined in

typings/message.ts:53


interaction_metadata?

optional interaction_metadata: InteractionMetadataStructure

Defined in

typings/message.ts:54


interaction?

optional interaction: InteractionStructure

Defined in

typings/message.ts:55


thread?

optional thread: Structure

Defined in

typings/message.ts:56


components?

optional components: Structure[]

This does not exist without the intent

Defined in

typings/message.ts:58


sticker_items?

optional sticker_items: ItemStructure[]

Defined in

typings/message.ts:59


stickers?

optional stickers: Structure[]

Defined in

typings/message.ts:60


position?

optional position: number

Defined in

typings/message.ts:61


role_subscription_data?

optional role_subscription_data: SubscriptionDataStructure

Defined in

typings/message.ts:62


resolved?

optional resolved: ResolvedDataStructure

Defined in

typings/message.ts:63


poll?

optional poll: Structure

Defined in

typings/message.ts:64


call?

optional call: CallStructure

Defined in

typings/message.ts:65