Multiple messages
You can send multiple messages in a row.
You need to add in the question Json a new field messages:
"messages" : [
{
"type" : "text",
"text" : "Invite ' + params.name + ' a te défier"
},
{
"type" : "image",
"url" : "https://media.giphy.com/media/Zyxqw4a2ZrClq/giphy.gif"
}
]
Here are the types of messages you can send :
type | parameter |
---|---|
text | text |
image | url |
file | url |