Deprecated
API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.
import { type APIMessage } from "https://deno.land/x/discord_api_types@0.37.66/payloads/v6/channel.ts";
Properties
author: APIUser
optional
member: APIGuildMembermentions: (APIUser & { member?: Omit<APIGuildMember, "user">; })[]
optional
mention_channels: APIChannelMention[]attachments: APIAttachment[]
embeds: APIEmbed[]
optional
reactions: APIReaction[]type: MessageType
optional
activity: APIMessageActivityoptional
application: APIMessageApplicationoptional
message_reference: APIMessageReferenceoptional
flags: MessageFlagsoptional
referenced_message: APIMessage | null