API v6 - DeprecatedInterfacesAPIMessageVersion: 0.37.43On this pageAPIMessage https://discord.com/developers/docs/resources/channel#message-object-message-structure@deprecatedAPI and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.Index Propertiesactivityapplicationattachmentsauthorchannel_idcontentedited_timestampembedsflagsguild_ididmembermention_channelsmention_everyonemention_rolesmentionsmessage_referencenoncepinnedreactionsreferenced_messagetimestampttstypewebhook_idProperties optionalactivityactivity?: APIMessageActivityoptionalapplicationapplication?: APIMessageApplicationattachmentsattachments: APIAttachment[]authorauthor: APIUserchannel_idchannel_id: stringcontentcontent: stringedited_timestampedited_timestamp: null | stringembedsembeds: APIEmbed[]optionalflagsflags?: MessageFlagsoptionalguild_idguild_id?: stringidid: stringoptionalmembermember?: APIGuildMemberoptionalmention_channelsmention_channels?: APIChannelMention[]mention_everyonemention_everyone: booleanmention_rolesmention_roles: string[]mentionsmentions: (APIUser & { member?: Omit<APIGuildMember, user> })[]optionalmessage_referencemessage_reference?: APIMessageReferenceoptionalnoncenonce?: string | numberpinnedpinned: booleanoptionalreactionsreactions?: APIReaction[]optionalreferenced_messagereferenced_message?: null | APIMessagetimestamptimestamp: stringttstts: booleantypetype: MessageTypeoptionalwebhook_idwebhook_id?: string
https://discord.com/developers/docs/resources/channel#message-object-message-structure
API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.