: stringMessage text content.
Full message object from GET /channels/{id}/messages, POST /channels/{id}/messages, PATCH, or gateway MESSAGE_CREATE.
?: APIMessageAttachment[] | nullFile attachments.
?: APIMessageCall | nullCall info when type is MessageType.
: SnowflakeChannel containing the message.
: stringMessage text content.
: string | nullISO-8601 timestamp when the message was last edited (null if never edited).
?: APIEmbed[] | nullEmbeds attached to the message.
: numberMessageFlags bitfield (see MessageFlags).
?: Snowflake | nullGuild containing the message (if guild message).
: SnowflakeMessage ID.
?: APIGuildMember | nullAuthor's guild member object (gateway MESSAGE_CREATE only, when guild message).
?: booleanWhether the message mentions @everyone or @here.
?: Snowflake[] | nullRole IDs mentioned in the message.
?: APIUser[] | nullUsers mentioned in the message.
?: APIMessageReference | nullReply/forward reference (see APIMessageReference).
?: APIMessageSnapshot[] | nullSnapshots of forwarded messages.
?: string | nullClient-generated unique ID for deduplication.
: booleanWhether the message is pinned.
?: APIMessageReaction[] | nullReactions to the message.
?: APIMessage | nullReferenced message (for replies, when available).
?: APIMessageSticker[] | nullStickers in the message.
: stringISO-8601 timestamp when the message was sent.
?: booleanWhether the message is text-to-speech.
: MessageTypeMessage type (see MessageType).
?: Snowflake | nullWebhook ID if message was sent by a webhook.