Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordMessageReference
import { type DiscordMessageReference } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/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