You first have to create a Telegram bot to get credentials.
Once you have them you can add these to your
How to get the Telegram credentials: You need to set up a Telegram bot.
To create the bot, go to Bot Father, enter
/newbotand follow the instructions. The URL that Telegram should send messages to will look like
http://<host>:<port>/webhooks/telegram/webhook, replacing the host and port with the appropriate values from your running Rasa X or Rasa Open Source server.
At the end you should get your
access_tokenand the username you set will be your
If you want to use your bot in a group setting, it's advisable to turn on group privacy mode by entering
/setprivacy. Then the bot will only listen when a user's message starts with
For more information, check out the Telegram HTTP API.
Running on Telegram
Add the Telegram credentials to your
Restart your Rasa X or Rasa Open Source server to make the new channel endpoint available for Telegram to send messages to.