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
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- Click Create bot.
- In the window that opens, enter the bot's Name and upload a photo.
- Click Create. The bot token will be generated automatically and copied to the clipboard.
- 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
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- In the upper-right corner, click Add bot.
- In the window that opens, enter the bot's Name and upload a photo.
- Click Create. The bot token will be generated automatically and copied to the clipboard.
- 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.
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- Select a bot and click Configure.
- Make changes and click Save.
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- Select a bot and click Configure.
- In the Webhook field, enter the bot's URL and click Save.
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- Select a bot and click Configure.
- Click Reissue token. The bot token will be generated automatically and copied to the clipboard.
- Save the token in a safe place. The bot uses the OAuth token to authorize all operations.
Change the bot's name or photo
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:
Reissue a token
Delete a bot
- Log in to the admin account for the company.
- Go to the Bots in Yandex Messenger page.
- Select a bot that you no longer need.
- Click Delete.