The most powerful features of Telegram are:
- Privacy. Messages are heavily encrypted and can self-destruct after specific periods of time.
- Speed. Telegram delivers messages faster than any other messenger platform.
- Power. Telegram has no limits in terms of the size of your media and chats.
- Security. Telegram keeps all messages safe from external attackers.
Check the articles below for some specific information on Telegram chatbots.
Follow these simple steps to create a new Telegram chatbot and connect it to Activechat:
@BotFather Telegram chatbot
2. Send /newbot command and give your bot a name. Type this name and press Enter.
3. Give your bot some smart @username (no spaces, English symbols, and digits, should end with _bot).
4. Ready! Copy the access token that @BotFather sent you (select it and press Ctrl+C or Cmd-C).
Creating a new Telegram chatbot with @BotFather
Now you can use that token in Activechat to connect your new shiny Telegram chatbot to any of your existing bots (or maybe create a new one).
1. Choose “Settings – Channels” in the menu on the left and click the gear icon in the Telegram tile.
2. Paste the access token that you got from @BotFather, click “Connect” and you’re done!
Connecting new Telegram chatbot to Activechat
Example of the chatbot menu on Telegram
Type your commands (one per line) with simple descriptions. Please keep in mind that all commands should be contained within a single message, so use “Ctrl+Enter” (or “Cmd+Enter on Mac”) to separate lines, and hit “Send” only after you’ve entered all commands.
Adding a list of commands to your chatbot on Telegram
Now if you go to your new chatbot on Telegram and hit “/”, it will display the list of commands with descriptions, and once you click a command, an event with the same name will be sent to your chatbot.
Telegram chatbot commands triggered with “/"
In this example, the “/about” command will send “about” event (that will trigger “about” skill in Activechat), “/contact” will send “contact” event, etc.
- Be descriptive. Chatbot commands tell your users what your chatbot can do, and when designed wisely can immensely increase retention.
- Keep the list of commands short (unless you’re building a chatbot for some specific use case, where many commands are a must).