Messaging applications
menu
The application allows generating a navigation menu where the selection will be saved into a variable.
{
"menu": {
"text": "Select a menu item",
"set": "${onClick.Menu}",
"variable": "${response}",
"buttons": [
[
{
"text": "💰 Credits",
"type": "reply"
},
{
"text": "⚙️ Main menu",
"type": "reply"
}
],
[
{
"text": "💰 Deposits",
"type": "reply"
},
{
"text": "🧙♂️ Operator assistance",
"type": "reply"
}
]
]
}
}
broadcastChatMessage
Provides the ability to send a message through the Chat Gateway.
{
"broadcastChatMessage": {
"peer": [
"${destination}"
],
"profile": {
"id": "13"
},
"text": "${SMS}",
"type": "text"
}
}
recvMessage
Save the text message received from the user within the active dialogue into a variable.
{
"recvMessage": {
"set": "response",
"timeout": 60
}
}
sendMessage
Sending a button with text and an image from the Media Files section:
Sending a button with text and an image via URL:
sendText
The application allows sending a text message within the active dialogue.
sendFile
The application allows sending a link to a file within the active dialogue.
sendEmail
Sending an email message
sendTTS
The ability to invoke Text-to-Speech (TTS) in the chat – a file is generated tied to the dialogue and sent in the chat. This way, voice messages can be generated for the user.
STT
The ability to transcribe speech to text.
getEmail
classifier
Customer response type classifier
chat history
Allows sending dialogue histories to email.
sendAction
Allows sending messages to third-party chat providers about actions of our bot (schemas).