Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step 1. Creating a Telegram bot account

...

Table of Contents

Create Telegram bot account

1. Go to the Telegram application and find @BotFather

...

Image Removed

The bot will offer a list of various commands. In order to create a new bot, you must click on the /newbot command or type this command in the input field.

Image Removed

Next you must first enter the name of your bot, then its username (which must end in bot).
"Username" is used to create a link to the bot.
After filling in all the fields, a message will be received with reference to this bot (1) and its token (2).

This token will need to be used when adding a Telegram channel to the system (Step 2. Adding a Telegram channel to the system).

...

2. Click Start and click /newbot

...

3. Fill in bot name, username

4. Click at the token to copy it

...

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.

Image Removed

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.

Image Removed

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.

Image Removed

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.

Image Removed

Step 2. Adding a Telegram channel to the system.

In order to add a channel to the system, you need to go to the section "Setting up chats” in the “System Designer".
Next, you need to click on the “+” in order to add a new channel.

Image Removed

Then select the Telegram channel.

Image Removed

Fill in the following fields:

...

Title

...

this field can be arbitrary.

...

Token

...

token is issued on the side of the messenger / social network. (The receipt has been described above.)

...

Weight

...

is the weight unit of the chat. This parameter is required to adjust the load on the operator.

...

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

1. Go to the System designer > Chat configuration > Channels

2. Click + and select Telegram

...

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.