Skip to main content

transformInteractionCallback

Documentation


Documentation / @discordeno/bot / transformInteractionCallback

Function: transformInteractionCallback()

transformInteractionCallback(bot, payload): SetupDesiredProps<InteractionCallback, CompleteDesiredProperties<{ }, true>, RemoveKey>

Defined in: bot/src/transformers/interaction.ts:282

Parameters

bot

InternalBot

payload

DiscordInteractionCallback

Returns

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