Skip to main content
Module

x/discordeno/mod.ts>DiscordMessageReference

Discord API library for Deno
Latest
interface DiscordMessageReference
import { type DiscordMessageReference } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Properties

optional
message_id: string

id of the originating message

optional
channel_id: string

id of the originating message's channel Note: channel_id is optional when creating a reply, but will always be present when receiving an event/response that includes this data model.

optional
guild_id: string

id of the originating message's guild

fail_if_not_exists: boolean

When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true