Table of Contents |
---|
Create Telegram bot account
1. Go to the Telegram application and find @BotFather in it. In this channel
2. Click Start and click /newbot
...
3. Fill in bot name, username
4. Click at the token to copy it
...
This token will need to be used when adding a Telegram channel to the system (Step 2. Adding a Telegram channel to the system).
...
Now bot is created.
However, it is possible to view or correct some information of the bot. To do this, click marked button on the screenshot or enter "/" in the input field.
...
After that, you need to select the command "mybots" from the proposed list. It is also worth paying attention to the fact that this list has the "newbot" command, which can be used in the future to create new bots.
...
After calling the "mybots" command, a list of the bots you have created will appear and you will need to click on the one you need to start changing or viewing any information from this bot.
...
In the appeared menu select one of the proposed buttons:
...
API Token
...
allows you to view the token of the bot, as well as withdraw it when necessary.
...
Edit Bot
...
the ability to change some information of this bot (name, image of the bot account, etc.).
...
Bot Settings
...
bot account settings.
...
Payment
...
binding payments for the bot.
...
Delete Bot
...
remove the bot.
...
<<Back to Bots List
...
return to the list of created bots.
...
Info |
---|
At the menu you can select /mybots, choose your bot from the list and select API Token to copy Token. Also you can select another oprions, for example if you need to change bot settings and information |
...
Add Telegram channel to Creatio
...
3. Fill in the following fields:
Channel name | Value at your discretion |
Token | Token from BotFather (step 4) |
Chat weight | Value at your discretion |
4. Click ADD
...
Info |
---|
Notice: You must attach this channel to any operator or bot! |
How to add the button “Share number”
The process of requesting a user's Telegram phone number without manual input:
This option is already available in the out-of-the-box version of Beesender. To implement it, you need to specify a parameter in the message element with buttons at the relevant stage of the chatbot process. This parameter will be responsible for this option.
Parameter: [*NUM*]
Button Formula:
Code Block |
---|
[*NUM*]Button Text |
Example: [*NUM*]Share number
Info |
---|
After this setup, the chatbot will offer a button. When the user clicks on it, they will be prompted to send their phone number. |