...
How to create
...
and connect Telegram chat-bot?
- If you don't have a Telegram account yet, create it on web.telegram.org/#/login
- Run Telegram app and search @BotFather in the search bar. Choose the bot with the same avatar as on the screenshot. Click Start button START button at the bottom of the window
- The bot sends us a list of commands that can be used while working with him. We need to create a bot so let's send him a /newbot text.:
- Then bot is asking to provide a name of a new bot. Send him the name in the message.:
- Now BotFather is asking to provide a username for your bot. The username should ends with bot. Send the username of your bot.:
- BotFather sends us a token. Copy it.
- Go to Settings → Channels & Businesses on the Leeloo.ai platform:
- Click the Telegram icon on the top panel and paste the copied token in the appeared field.:
Click Connect button.
Info If you encountered an error "This token is invalid, please insert another token" when connecting a bot, check:
1) No spaces is placed before and after the token.
2) Is any special symbol is added to the token which is invisible and provoke a conflict. You can check it using Developer tools (Ctrl+Shift+I in Chrome Browser) and pasting the token into the console line. If beyond symbols of the token you can see a red point - the special symbol is added. Delete it.