getContextPayload()
Overview
public struct function getContextPayload(
required string context
, struct args
)
Returns the payload for the given context and optional set of args to the payload's context getting handler.
Arguments
Name | Type | Required | Description |
---|---|---|---|
context | string | Yes | ID of the context whose payload we are to get |
args | struct | No | Optional set of args to send to the context getPayload() handler |