DiscordenoMessageReference
Documentation / @discordeno/types / DiscordenoMessageReference
Interface: DiscordenoMessageReference
Defined in: discordeno/message.ts:18
https://docs.discord.com/developers/resources/message#message-reference-structure
Properties
channelId?
optionalchannelId?:BigString
Defined in: discordeno/message.ts:27
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.
failIfNotExists?
optionalfailIfNotExists?:boolean
Defined in: discordeno/message.ts:31
When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true
guildId?
optionalguildId?:BigString
Defined in: discordeno/message.ts:29
id of the originating message's guild
messageId?
optionalmessageId?:BigString
Defined in: discordeno/message.ts:22
id of the originating message
type?
optionaltype?:DiscordMessageReferenceType
Defined in: discordeno/message.ts:20
Type of reference