Message Types
To properly select your message type, you should first identify the format that best suits your needs. Subsequently, you can choose from different types of messages and fill in your body type params.
Last updated
To properly select your message type, you should first identify the format that best suits your needs. Subsequently, you can choose from different types of messages and fill in your body type params.
Last updated
Before sending messages, you must select your message type from a large number of formats to take the most accurate option for your goal. It can be text, audio, an image, etc.
A text message type
is a message that is sent as plain text.
Argument | Description | Required |
---|---|---|
A text message type with options
is a message that is sent as a plaint text with several options buttons to select.
buttons.options -> Minimum of 1 and maximum of 10 options.
buttons.title -> Maximum of 60 characters.
options.title -> Maximum length: 24 characters.
options.description -> Optional. Maximum length: 72 characters.
options.payload -> Optional.
A image message type
is a message that is sent with an image and text.
A audio message type
is a message that is sent as an audio.
A video message type
is a message that is sent as an video.
A file message type
is a message that is sent with a file and text.
A sticker message type
is a message that is sent with a sticker.
A location type message
is a message that is sent with a specific location.
A quick_reply message type
to offer a quicker way for users to make a selection from a menu when interacting with a business
quick_replies -> Minimum of 1 and maximum of 3 buttons.
title -> Optional. Maximum length: 20 characters.
quick_replies.*.title -> It cannot be an empty string and it must be unique within the message. Maximum of 20 characters. Does not allow emojis or markdowns.
Argument | Description | Required |
---|---|---|
Argument | Description | Required |
---|---|---|
Argument | Description | Requires |
---|---|---|
Argument | Description | Required |
---|---|---|
Argument | Description | Required |
---|---|---|
Argument | Description | Required |
---|---|---|
Argument | Description | Required |
---|---|---|
Argument | Description | Required |
---|---|---|
Media | Supported Types | Size Limit |
---|---|---|
text
This field will store the message to be sent to the client.
Yes
text
This field store the message to be sent to the client.
Yes
buttons
This field stores buttons sections of the message
Yes
buttons.title
This field stores the Title to be send on top the the text message
No
buttons.buttonText
This field stores the configuration of the Main Button for display
No
buttons.buttonText.type
This field stores the type of the bubble display for options
Yes (if buttonText field included)
buttons.buttonText.text
This field stores the text to display on Main Button. Default Value: "Opciones"
Yes (if buttonText field included)
buttons.options
This field stores all the options to send.
Yes
buttons.options.*.title
This field stores the Title to send in option.
Yes
buttons.options.*.description
This field stores the description to be send for each option.
No
buttons.options.*.payload
This field stores the text to send back to the webhook when User press this option.
No
mediaUrl
This field will store the image URL to be sent in the message.
Yes
text
This field will store the message that goes next to the image.
No
mediaUrl
This field will store the file URL to be sent in the message
Yes
mediaUrl
This field will store the file URL to be sent in the message
Yes
text
This field will store the message that goes next to the video.
No
mediaUrl
This field will store the file URL to be sent in the message
Yes
text
This field will store the message that goes next to the image.
No
mediaUrl
This field will store the file URL to be sent in the message
Yes
coordinates
This field will store the object that will contain the location's latitude and longitude.
Yes
coordinates.lat
This field will store the latitude's location.(Double)
Yes
coordinates.long
This field will store the longitude's location.(Double)
Yes
text
This field store the message to be sent to the client.
Yes
title
This field stores the text of the title of the message.
No
quick_replies
This field stores quick replies buttons.
Yes
quick_replies.*.title
This field stores the text of the quick reply button.
Yes
audio
audio/aac, audio/mp4, audio/mpeg, audio/amr, audio/ogg (only opus codecs, base audio/ogg is not supported)
16MB
file
text/plain, application/pdf, application/vnd.ms-powerpoint, application/msword, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
100MB
image
image/jpeg, image/png
5MB
video
video/mp4, video/3gp
16MB
sticker
image/webp
100KB