Latest
interface DiscordMessageReference
import { type DiscordMessageReference } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/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