Skip to main content

lightyear.definewebhookprops.variables

Home > @runlightyear/lightyear > DefineWebhookProps > variables

DefineWebhookProps.variables property

An array of the variables on this webhook.

Variables are required to have a value by default. If you append a "?" to the end of the name, the variable will be optional. For example:

["requiredVar", "optionalVar?"]

Signature:
variables?: Array<VariableDef>;