Skip to main content
Version: 0.37.112

APIMessage

Index

Properties

optionalactivity

optionalapplication

application?: Partial<APIApplication>

optionalapplication_id

application_id?: string

attachments

attachments: APIAttachment[]

author

author: APIUser

optionalcall

channel_id

channel_id: string

optionalcomponents

content

content: string

edited_timestamp

edited_timestamp: null | string

embeds

embeds: APIEmbed[]

optionalflags

flags?: MessageFlags

id

id: string

optionalinteraction

interaction?: APIMessageInteraction

optionalinteraction_metadata

interaction_metadata?: APIMessageInteractionMetadata

optionalmention_channels

mention_channels?: APIChannelMention[]

mention_everyone

mention_everyone: boolean

mention_roles

mention_roles: string[]

mentions

mentions: APIUser[]

optionalmessage_reference

message_reference?: APIMessageReference

optionalmessage_snapshots

message_snapshots?: APIMessageSnapshot[]

optionalnonce

nonce?: string | number

pinned

pinned: boolean

optionalpoll

poll?: APIPoll

optionalposition

position?: number

optionalreactions

reactions?: APIReaction[]

optionalreferenced_message

referenced_message?: null | APIMessage

optionalresolved

optionalrole_subscription_data

role_subscription_data?: APIMessageRoleSubscriptionData

optionalsticker_items

sticker_items?: APIStickerItem[]

optionalstickers

stickers?: APISticker[]

optionalthread

thread?: APIChannel

timestamp

timestamp: string

tts

tts: boolean

type

optionalwebhook_id

webhook_id?: string