Skip to main content

MessageReference

Documentation


Documentation / @discordeno/bot / MessageReference

Interface: MessageReference

Defined in: bot/src/transformers/types.ts:1264

Properties

channelId?

optional channelId: bigint

Defined in: bot/src/transformers/types.ts:1266

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.


guildId?

optional guildId: bigint

Defined in: bot/src/transformers/types.ts:1268

id of the originating message's guild


messageId?

optional messageId: bigint

Defined in: bot/src/transformers/types.ts:1270

id of the originating message