Telegram
Create Telegram bot account
Go to the Telegram application and find @BotFather
Click Start and click /newbot
Fill in bot Name and Username
Note: The Username of the bot must necessarily end with "bot". Username is used to create a link to the bot.
After entering the Name and Username, you will receive a message with the following information:
Link to your bot
Token for accessing the bot.
Click at the Token to copy it
The Token will be required to add Telegram channel to Creatio.
This completes the creation of the bot.
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
Go to the System Designer > Beesender chat configuration > Channels tab
Click + next to the Channels detail.
Select Telegram.
Fill in the following fields:
Channel name | Any name of your choice |
Token | The token is issued by the messenger/social network. (The process is described above.) |
Chat weight | Chat weight unit. This parameter is required to adjust the operator load. |
Channel link | The address at which the channel is available. Optional field |
Click ADD
The Telegram channel setup is complete. After saving the channel, assign operators and start working with chats.
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.
To do this, in the “Ask a Question” element (or Message with Buttons), enter the following in the button text:
Parameter: [*NUM*]
Button Formula:
[*NUM*]Button TextExample:
[*NUM*]Share numberAfter this setup, the chatbot will offer a button. When the user clicks on it, they will be prompted to send their phone number.
How to add the button "Share location"
This option is already available in the standard version of Beesender. To use it, you need to specify a parameter in the message element with buttons at the corresponding stage of the chatbot process. This parameter is responsible for displaying this option.
To do this, in the "Ask a Question" element (or Message with Buttons), enter the following in the button text:
Parameter: [*GEO*]
Button Formula:
[*GEO*]Button TextExample:
[*GEO*]Share LocationAfter setting this up, the chatbot will display a button with the specified text. When the user clicks on this button, they will be prompted to share their location.