Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
To create a Telegram bot, you need a Telegram account. If you don't have this account yet, create one at https://web.telegram.org/#/login.
If you have already created a Telegram bot, proceed to connecting the Telegram bot to the platform.
How to create a Telegram bot?
Info |
---|
The steps in the instructions are performed in the desktop version of Telegram. |
Widget Connector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Follow the link http://telegram.me/botfather. A chat will open with BotFather - the “father of bots”. BotFather provides a menu for creating and managing Telegram bots. Click on the "Start" button at the bottom of the window to start the dialogue.
BotFather will send you a list of commands for creating and managing bots. We need to create a new bot, so we send it the command "/newbot":
3. BotFather asks what you want to name the bot. Give the bot a name and send it. The name can be either Latin or Cyrillic. This name can be changed later. We called the bot "Lila in Telegram":
Next, BotFather asks you to give the bot a nickname (username). The nickname must end with "bot". As a nickname, you are allowed to use only Latin letters, numbers and underscores. The minimum length of an alias is 5 characters. The nickname cannot be changed in the future.
Create a nickname for the bot and send it in a message. We gave the bot the nickname "LeelooInTelegramBot":
BotFather will send a bot token. Copy it:
This completes the creation of the Telegram bot. Next, you need to connect the bot to the platform.
How to connect a Telegram bot to the platform?
Go to the http://Leeloo.ai platform to the Settings → Integrations → Messengers section:
Click on "Add new connection":
In the window that opens, select the Telegram messenger.
In the window that appears, paste the copied token (1) and click the “Join” button (2):
Ready! Now you can connect this bot as a communication channel in the lead generation tools settings.
Tip |
---|
If, when adding a Telegram bot, it gives the error “This token is invalid, please insert another token”
|