Conversation API enables communication with users of the Telegram ecosystem using the Telegram Bot channel. To integrate your conversation API with Telegram, you need an access token, which is provided by a Telegram bot.
A Telegram bot can be created in the Telegram application by users with an active account. If you do not have a Telegram account, please download and install the Telegram application from the app store of your mobile device.
To create a new bot:
- Access the Telegram app and, if you don’t already have an existing account, follow the on-screen instructions to setup your account.
- In the search bar, search for “BotFather” and click on the verified result with the blue checkmark:
![TelegramBotFig1.jpg TelegramBotFig1.jpg](https://community.sinch.com/t5/image/serverpage/image-id/1682i6C748366D5FBFC3B/image-dimensions/336x727?v=v2)
- An explanatory dialog is displayed:
![TelegramBotFig2.jpg TelegramBotFig2.jpg](https://community.sinch.com/t5/image/serverpage/image-id/1683iB53A0625B5DC5EE1/image-dimensions/335x725?v=v2)
Click START.
- /start will appear in the chat followed by a full list of commands:
![TelegramBotFig3.jpg TelegramBotFig3.jpg](https://community.sinch.com/t5/image/serverpage/image-id/1684i56AA2CDAD9D1ABD7/image-dimensions/338x732?v=v2)
To create your new bot, type /newbot in the message field at the bottom of the screen and follow the instructions.
- Once your bot is created, its token is displayed:
![TelegramBotFig4.jpg TelegramBotFig4.jpg](https://community.sinch.com/t5/image/serverpage/image-id/1685i5E73D8423837C37C/image-dimensions/342x450?v=v2)
Please store this token securely. It is required when creating your Telegram Bot channel.
Click here, for information on how to create a new Telegram bot.
Learn more