messenger_generic_template
Allows the creation of messages from Messenger Generic Templates.
messenger_generic_template(elements=Hash|Array, image_aspect_ration=Enum, quick_replies=Array)
messenger_generic_template(elements=Hash|Array, image_aspect_ration=Enum, quick_replies=Array)
Platforms
Platform
Supported
Messenger
Telegram
Usage
Params
Name
Description
elements
Hash|Array
Required.
image_aspect_ratio
Enum
Optional.
The aspect ratio used to render images specified by element.image_url
. Must be horizontal
(1.91:1) or square
(1:1). Defaults to horizontal
.
quick_replies
Array
Optional. Array of buttons that appear below the carousel.
Learn more about Messenger Generic Templates in the official documentation.
Last updated