DiscordMessageReference
Documentation / @discordeno/types / DiscordMessageReference
Interface: DiscordMessageReference
Defined in: discord/message.ts:273
https://docs.discord.com/developers/resources/message#message-reference-structure
Properties
channel_id?
optionalchannel_id?:string
Defined in: discord/message.ts:282
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.
fail_if_not_exists?
optionalfail_if_not_exists?:boolean
Defined in: discord/message.ts:286
When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true
guild_id?
optionalguild_id?:string
Defined in: discord/message.ts:284
id of the originating message's guild
message_id?
optionalmessage_id?:string
Defined in: discord/message.ts:277
id of the originating message
type?
optionaltype?:DiscordMessageReferenceType
Defined in: discord/message.ts:275
Type of reference