- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Type of event | Description |
---|---|
start | It is initiated when a user is connected to a bot for the first time; in Viber – each time a chat dialog is opened. |
context | It is initiated if the incoming message has a context. A context is an additional parameter that can be added to a link leading to a bot, like a command launching, reference link, and so on. |
message | It is initiated when a user sends a message. |
command | It is initiated when a user sent a message of the /commandName type. |
Examples of data transmission using context:
Viber:
viber://pa?chatURI={{public_account_name}}&context={{params}}
Facebook Messenger:
http://m.me/{{bot_name}}?ref={{params}}
Telegram:
https://telegram.me/{{bot_name}}?start={{params}}
Was this article helpful?