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

x/oasis/packages/deps.ts>DiscordMessageReference

An object oriented Discordeno framework
Latest
interface DiscordMessageReference
import { type DiscordMessageReference } from "https://deno.land/x/oasis@2.1.0/packages/deps.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