FlowRunner. CustomBlocks. WhatsAppSendFlow
(flow_runner v6.15.1)
Copy Markdown
A block to handle the sending of WhatsApp Flows.
WhatsApp Flows are client side forms that are authored in the Facebook Business Manager which can do data collection natively on WhatsApp and return the captured data as JSON.
The whatsapp_flow block compiles to this FLOIP block.
The id, cta, screen, and text config parameters are required.
The header and footer are optional.
Summary
Functions
Returns all block documentation defined in this module.
For the parameter map given, read the optional keys and return a map for those values.
Functions
@spec block_docs() :: [Keyword.t()]
Returns all block documentation defined in this module.
Each block doc entry is a keyword list with keys like :type, :description,
:config, etc., plus a :category key added from @block_category.
For the parameter map given, read the optional keys and return a map for those values.
The keys of the map are the keys supplied to this function but converted to strings.
The key only exists on the returned map if a value for the key exists.