Event types
  • 10 May 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Event types

  • Dark
    Light
  • PDF

Article summary

Type of eventDescription
startIt is initiated when a user is connected to a bot for the first time; in Viber – each time a chat dialog is opened.
contextIt 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.
messageIt is initiated when a user sends a message.
commandIt 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?

What's Next