Skip to main content

MessageReference

@discordeno/botDocs


Documentation / @discordeno/bot / MessageReference

Interface: MessageReference

Properties

channelId?

optional channelId: bigint

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.

Defined in

packages/bot/src/transformers/types.ts:1186


guildId?

optional guildId: bigint

id of the originating message's guild

Defined in

packages/bot/src/transformers/types.ts:1188


messageId?

optional messageId: bigint

id of the originating message

Defined in

packages/bot/src/transformers/types.ts:1190