Skip to main content
Module

x/discord_api_types/payloads/v6/channel.ts>APIMessage

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIMessage
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.21/payloads/v6/channel.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