Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/types/channel.ts>MessagePayload

An easy to use Discord API Library for Deno.
Go to Latest
interface MessagePayload
import { type MessagePayload } from "https://deno.land/x/harmony@v2.8.0/src/types/channel.ts";

Properties

id: string
channel_id: string
optional
guild_id: string
author: UserPayload
optional
member: MemberPayload
content: string
timestamp: string
optional
edited_timestamp: string
tts: boolean
mention_everyone: boolean
mentions: UserPayload[]
mention_roles: string[]
optional
mention_channels: ChannelMention[]
attachments: Attachment[]
embeds: EmbedPayload[]
optional
reactions: Reaction[]
optional
nonce: number | string
pinned: boolean
optional
webhook_id: string
type: number
optional
activity: MessageActivity
optional
application: MessageApplication
optional
message_reference: MessageReference
optional
referenced_message: MessagePayload
optional
flags: number
optional
sticker_items: MessageStickerItemPayload[]
optional
interaction: MessageInteractionPayload
optional
components: MessageComponentPayload[]
optional
thread: ThreadChannelPayload