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

NameTypeRequiredDescription
contextstringYesID of the context whose payload we are to get
argsstructNoOptional set of args to send to the context getPayload() handler