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

x/natico/examples/deps.ts>MessageReference

A powerful and customizable framework for Discordeno
Latest
interface MessageReference
Re-export
import { type MessageReference } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

optional
messageId: string

id of the originating message

optional
channelId: 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
guildId: string

id of the originating message's guild

failIfNotExists: boolean

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