LogoRobo.js
Packages@robojs/mock

buildContextMenuInteractionPayload()

Function: buildContextMenuInteractionPayload()

function buildContextMenuInteractionPayload(options): GatewayPayload

Build an INTERACTION_CREATE payload for context menu commands (op 0, t: "INTERACTION_CREATE") For USER (type 2) and MESSAGE (type 3) application commands

Parameters

Returns

GatewayPayload

On this page