+4 votes
77 views
in Apps / software by (242k points)
reopened
Create Telegram bot - this is how it works

1 Answer

+5 votes
by (1.6m points)
 
Best answer

Create Telegram bot
1st step:
2nd step:
3rd step:
4th step:
5th step:
6th step:
Telegram bot ideas
Brief instructions: Create a Telegram bot

Do you want to create a bot in Telegram? You can find the instructions here..

image image

In Messenger Telegram, a bot can definitely help you by communicating with you or a customer or by sending you push messages. In this post we explain how you can create such a bot.

Create Telegram bot

Follow our step-by-step instructions or take a look at the brief instructions .

1st step:

image
Open the Telegram app. Use the search function above to look for a bot named " @botfather ". Tap on it and then select " Start " below .

2nd step:

image
Now the botfather offers you a few options. Enter " / newbot ".

3rd step:

image
Now assign a display name to your bot. This will make it easy to recognize later.

4th step:

image
You then need to set a username for your bot. You can use this to find it again later. Your bot's username must end in -bot. The difference between display name and username is a bit like on Twitter. You can access your bot via @username, so the username must also be unique. The display name does not have to be unique and can be customized at any time.

5th step:

image
If your desired username is already taken, you can simply modify it with numbers, for example.

6th step:

image
The bot has now been created successfully. You will receive a token. With this token, anyone can access and customize the bot. You should make a note of this and not pass it on to other people. Therefore, the token shown here belongs to a bot that has since been deleted. Otherwise you could access our bot directly by entering this token. The botfather will give you the link directly. Now enter " / mybots " to get a list of your bots. Tap the bot you just created and select " / editbot ". Now you can design the bot as you wish.

Telegram bot ideas

ChatBots can be used in a variety of ways. Of course, an artificial intelligence like Cleverbot can also be programmed, but that is quite time-consuming. Most chatbots are unlikely to have full, human-like conversations.

For example, you can use a simple bot to perform rudimentary customer support. The customer can describe the problem to the bot so that the customer does not have to put himself on hold by phone every time. This then suggests helpful contributions from your help page and, if these do not help, can forward them directly to the responsible customer advisor.

There are also bots that display stock prices or news. As soon as you write to them, you will be shown the current headlines or the desired share price, for example. You can also program fun bots. For example, they can tell jokes on command.

Distribution bots are also possible. You feed them beforehand with Telegram usernames or telephone numbers. As soon as you send a message to a distribution bot, it sends the messages directly to the users you have selected.

These are all just examples of what you can do with your Telegram bot. In most cases, limits are only set by your own creativity. You have to write the code for your bot yourself. One You can find help programming bots on the Telegram website . You can also check out bot projects from other Telegram users on GitHub .

Brief instructions: Create a Telegram bot

  1. First you need to send the message " / newbot " to a bot called BotFather at @botfather. Your bot will now be created.
  2. Now you can choose a name for your bot. This will make it easier for you to assign it later.
  3. Then you need to set a username for the bot. Your bot will be accessible under this in the future. As on Twitter, an @ -handle is set. You cannot change the user name later, the display name can be adjusted at any time.
  4. After you have set the username , you will be given a token. You should make a note of this identifier outside of Telegram and not pass it on to other users. The token allows anyone to access your bot.
  5. You can then select the bot via " / mybots ". You can adjust it via " / editbot ".

...