Skip to main content

DiscordenoMessageReference

Documentation


Documentation / @discordeno/types / DiscordenoMessageReference

Interface: DiscordenoMessageReference

Defined in: discordeno/message.ts:18

https://docs.discord.com/developers/resources/message#message-reference-structure

Properties

channelId?

optional channelId?: 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?

optional failIfNotExists?: 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?

optional guildId?: BigString

Defined in: discordeno/message.ts:29

id of the originating message's guild


messageId?

optional messageId?: BigString

Defined in: discordeno/message.ts:22

id of the originating message


type?

optional type?: DiscordMessageReferenceType

Defined in: discordeno/message.ts:20

Type of reference