Skip to main content
Module

x/denord/mod.ts>CreateMessagePayload

🗣 Discord API module
Latest
interface CreateMessagePayload
import { type CreateMessagePayload } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

content: string

the message contents (up to 2000 characters)

optional
nonce: number | string

a nonce that can be used for optimistic message sending

optional
tts: boolean

true if this is a TTS message

optional
embed: Embed

embedded rich content

optional
allowedMentions: AllowedMentions

allowed mentions for a message

optional
file: File

the contents of the file being sent