Bots in Yandex Messenger

The company admin can create and manage bots for Yandex Messenger. Bots can automate the company's internal processes, create group chats, and notify the admin about events in them.

Bots in Yandex Messenger interact only with company employees and are available for Optimal and Advanced plans.

Create a bot

  1. Click Create bot.
  2. In the window that opens, enter the bot's Name and upload a photo.
  3. Click Create. The bot token will be generated automatically and copied to the clipboard.
  4. Save the token in a safe place. The bot uses the OAuth token to authorize all operations.
Note. Yandex Messenger doesn't store bot tokens. You won't be able to access the token later. If you lose the token, you will be able to reissue it. In that case, the previous token will be revoked.

Add multiple bots

  1. In the upper-right corner, click Add bot.
  2. In the window that opens, enter the bot's Name and upload a photo.
  3. Click Create. The bot token will be generated automatically and copied to the clipboard.
  4. Save the token in a safe place. The bot uses the OAuth token to authorize all operations.

Set up a bot

In the Bots in Yandex Messenger section, you can perform simple actions with bots: change the bot's name and photo or add a webhook. Detailed bot settings are described in Messenger API Help. If you lose the bot token, you can reissue it.

Change the bot's name or photo
  1. Select a bot and click Configure.
  2. Make changes and click Save.
Add a webhook
If you add a webhook, all updates will be sent to the specified address as a POST request. To add a webhook:
  1. Select a bot and click Configure.
  2. In the Webhook field, enter the bot's URL and click Save.
Reissue a token
  1. Select a bot and click Configure.
  2. Click Reissue token. The bot token will be generated automatically and copied to the clipboard.
  3. Save the token in a safe place. The bot uses the OAuth token to authorize all operations.