Skip to main content

transformMessageSnapshot

Documentation


Documentation / @discordeno/bot / transformMessageSnapshot

Function: transformMessageSnapshot()

transformMessageSnapshot(bot, payload): SetupDesiredProps<MessageSnapshot, CompleteDesiredProperties<{ }, true>, RemoveKey>

Defined in: bot/src/transformers/message.ts:264

Parameters

bot

InternalBot

payload

messageSnapshot

DiscordMessageSnapshot

shardId

number

Returns

SetupDesiredProps<MessageSnapshot, CompleteDesiredProperties<{ }, true>, RemoveKey>