BlockVariant
- channelType: array of ChannelFamilyenum
_restriction requiredChannel families this variant is valid on. Empty means every one of them.
- interactionType: InteractionKindenumrequired
Whether the block pauses the conversation waiting for the user. This is what makes a cycle in the diagram legitimate or not: a loop through blocks that never wait is an error.
valueswaits_for_inputruns_without_input - outputType: array of OutputDerivation
_derivations requiredProperties: 4Rules the caller runs over its own params to know the outputs this variant reports for them, on top of the fixed
outputs— a button block reports one output per button. Empty when every output is fixed. - outputsType: array of BlockOutputrequiredProperties: 2
The fixed outputs a connection can leave from, as used in a connection's
type. - paramType: array of ParamDerivation
_derivations requiredProperties: 3Params this variant works out itself rather than the caller writing them, and the param each one is worked out from. What a caller sends for a derived param is replaced or kept according to the derivation's
kind. Empty when every param is the caller's. Applied when a block is added or edited, and not byPUT /bots/{bot_id}/draft, which stores what it is given. - Properties: 12paramsType: array of ParamDefinitionrequired
- requiredType: PlanTierenum
_tier requiredA subscription tier, ordered from lowest to highest.
valuessandboxstarterprofessionalbusiness - selectorType: array of ParamSelectorrequiredProperties: 5
The conditions over a block's own params that select this variant. Empty on a single-variant block, which any params select.
- answerType: string | nullenum
What kind of answer the block collects, for the blocks that ask for one. Absent on a block that asks for nothing.
valuesemailphoneurlnumberdate