Skip to content

GuildStructure

See

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

Extends

Properties

id

id: string

Inherited from

Structure.id

Defined in

typings/message.ts:21


channel_id

channel_id: string

Inherited from

Structure.channel_id

Defined in

typings/message.ts:22


author

author: Structure

Inherited from

Structure.author

Defined in

typings/message.ts:23


content

content: string

Inherited from

Structure.content

Defined in

typings/message.ts:25


timestamp

timestamp: string

ISO8601 Timestamp

Inherited from

Structure.timestamp

Defined in

typings/message.ts:27


edited_timestamp

edited_timestamp: null | string

ISO8601 Timestamp

Inherited from

Structure.edited_timestamp

Defined in

typings/message.ts:29


tts

tts: boolean

Inherited from

Structure.tts

Defined in

typings/message.ts:30


mention_everyone

mention_everyone: boolean

Inherited from

Structure.mention_everyone

Defined in

typings/message.ts:31


mention_roles

mention_roles: Structure[]

Inherited from

Structure.mention_roles

Defined in

typings/message.ts:33


mention_channels?

optional mention_channels: MentionStructure[]

Inherited from

Structure.mention_channels

Defined in

typings/message.ts:34


attachments

attachments: AttachmentStructure[]

This does not exist without the intent

Inherited from

Structure.attachments

Defined in

typings/message.ts:36


embeds

embeds: Structure[]

This does not exist without the intent

Inherited from

Structure.embeds

Defined in

typings/message.ts:38


reactions

reactions: ReactionStructure[]

Inherited from

Structure.reactions

Defined in

typings/message.ts:39


nonce?

optional nonce: string | number

Inherited from

Structure.nonce

Defined in

typings/message.ts:40


pinned

pinned: boolean

Inherited from

Structure.pinned

Defined in

typings/message.ts:41


webhook_id?

optional webhook_id: string

Inherited from

Structure.webhook_id

Defined in

typings/message.ts:42


type

type: MessageType

Inherited from

Structure.type

Defined in

typings/message.ts:43


activity?

optional activity: ActivityStructure

Inherited from

Structure.activity

Defined in

typings/message.ts:44


application?

optional application: Partial<Structure>

Inherited from

Structure.application

Defined in

typings/message.ts:45


application_id?

optional application_id: string

Inherited from

Structure.application_id

Defined in

typings/message.ts:46


flags?

optional flags: number

Bitfield of MessageFlags

Inherited from

Structure.flags

Defined in

typings/message.ts:50


message_reference?

optional message_reference: ReferenceStructure

Inherited from

Structure.message_reference

Defined in

typings/message.ts:51


message_snapshots?

optional message_snapshots: SnapshotStructure[]

Inherited from

Structure.message_snapshots

Defined in

typings/message.ts:52


referenced_message?

optional referenced_message: null | Structure

Inherited from

Structure.referenced_message

Defined in

typings/message.ts:53


interaction_metadata?

optional interaction_metadata: InteractionMetadataStructure

Inherited from

Structure.interaction_metadata

Defined in

typings/message.ts:54


interaction?

optional interaction: InteractionStructure

Inherited from

Structure.interaction

Defined in

typings/message.ts:55


thread?

optional thread: Structure

Inherited from

Structure.thread

Defined in

typings/message.ts:56


components?

optional components: Structure[]

This does not exist without the intent

Inherited from

Structure.components

Defined in

typings/message.ts:58


sticker_items?

optional sticker_items: ItemStructure[]

Inherited from

Structure.sticker_items

Defined in

typings/message.ts:59


stickers?

optional stickers: Structure[]

Inherited from

Structure.stickers

Defined in

typings/message.ts:60


position?

optional position: number

Inherited from

Structure.position

Defined in

typings/message.ts:61


role_subscription_data?

optional role_subscription_data: SubscriptionDataStructure

Inherited from

Structure.role_subscription_data

Defined in

typings/message.ts:62


resolved?

optional resolved: ResolvedDataStructure

Inherited from

Structure.resolved

Defined in

typings/message.ts:63


poll?

optional poll: Structure

Inherited from

Structure.poll

Defined in

typings/message.ts:64


call?

optional call: CallStructure

Inherited from

Structure.call

Defined in

typings/message.ts:65


guild_id

guild_id: string

Defined in

typings/message.ts:69


member

member: Partial<MemberStructure>

Defined in

typings/message.ts:70


mentions

mentions: Structure & object[]

Overrides

Structure.mentions

Defined in

typings/message.ts:71