Skip to main content
Version: 0.37.53

APIMessage

@deprecated

API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.

Index

Properties

optionalactivity

optionalapplication

application?: APIMessageApplication

attachments

attachments: APIAttachment[]

author

author: APIUser

channel_id

channel_id: string

content

content: string

edited_timestamp

edited_timestamp: null | string

embeds

embeds: APIEmbed[]

optionalflags

flags?: MessageFlags

optionalguild_id

guild_id?: string

id

id: string

optionalmember

optionalmention_channels

mention_channels?: APIChannelMention[]

mention_everyone

mention_everyone: boolean

mention_roles

mention_roles: string[]

mentions

mentions: (APIUser & { member?: Omit<APIGuildMember, user> })[]

optionalmessage_reference

message_reference?: APIMessageReference

optionalnonce

nonce?: string | number

pinned

pinned: boolean

optionalreactions

reactions?: APIReaction[]

optionalreferenced_message

referenced_message?: null | APIMessage

timestamp

timestamp: string

tts

tts: boolean

type

optionalwebhook_id

webhook_id?: string