Packages@robojs/mock
buildContextMenuInteractionPayload()
Function: buildContextMenuInteractionPayload()
function buildContextMenuInteractionPayload(options): GatewayPayloadBuild an INTERACTION_CREATE payload for context menu commands (op 0, t: "INTERACTION_CREATE") For USER (type 2) and MESSAGE (type 3) application commands
Parameters
| Parameter | Type |
|---|---|
options | ContextMenuInteractionPayloadOptions |
