image
Creates a message with an image provided via a url.
image(params=Hash)
image(params=Hash)
Platforms
Platform
Supported
Messenger
Telegram
Usage
Params
Name
Description
url
String
Required.
Image URL
caption
String
Optional: Telegram and WhatsApp Required: Messenger. Brief description of the image.
buttons
Array
Optional.
Array of buttons, depending on the platform they can be of different types, by default they are payload
.
image_aspect_ratio
Enum
Optional.
Only available on Messenger.
:horizontal
(Default) or :square
Last updated