Skip to main content
Module

x/discord_api_types/v6.ts>APIMessage

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIMessage
Re-export
Deprecated
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.11/v6.ts";

Properties

id: string
channel_id: string
optional
guild_id: string
author: APIUser
optional
member: APIGuildMember
content: string
timestamp: string
edited_timestamp: string | null
tts: boolean
mention_everyone: boolean
mentions: (APIUser & { member?: Omit<APIGuildMember, "user">; })[]
mention_roles: string[]
optional
mention_channels: APIChannelMention[]
attachments: APIAttachment[]
embeds: APIEmbed[]
optional
reactions: APIReaction[]
optional
nonce: string | number
pinned: boolean
optional
webhook_id: string
optional
activity: APIMessageActivity
optional
application: APIMessageApplication
optional
message_reference: APIMessageReference
optional
flags: MessageFlags
optional
referenced_message: APIMessage | null