Skip to main content
Latest
interface MessageReference
Re-export
import { type MessageReference } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/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