logo

How to create Telegram bot and use it with Roxy-WI

About Telegram

Telegram is a freeware, cross-platform cloud-based instant messaging, video calling, and VoIP service. It was initially launched for iOS on 14 August 2013 in Russia, and is currently based in Dubai. Official Telegram client apps are available for Android, iOS, Windows, macOS and Linux, as well as for the now-discontinued Windows Phone. There is also an official web interface and numerous unofficial clients. All of Telegram's official apps are open source.

Telegram provides end-to-end encrypted calls and optional end-to-end encrypted "secret" chats between two online users on smartphone clients, whereas cloud chats use client-server/ server-client encryption. Users can send text and voice messages, animated stickers, make voice and video calls, and share an unlimited number of images, documents (2GB per file), user locations, contacts, and music. As of April 2020, Telegram reached 400 million monthly active users.

Go to TOP

About Checker

Checker monitors HAProxy, Nginx, Apache and Keepalived services, HAProxy backends and maxconn. If a backend or a HAProxy/Nginx/Apache/Keepalived service is down, Checker will send an alert through all or several notification channels:

  • Telegram
  • Slack
  • PagerDuty
  • Email

Real-time alerts are sent via Roxy-WI. The incident history is preserved.

Go to TOP

Create a Telegram bot

To create a chatbot on Telegram, you need to contact the BotFather, a special bot used to create other bots.

Enter the command /newbot. BotFather will guide you through all steps necessary for creating a new bot.

Go to TOP

Use Telegram bot with Roxy-WI


Read how to install Checkerhere

After you receive the Token from BotFather you should create a channel. Add the bot to the channel as an administrator.

Note: Channel must be public

Add your Token and the name of the channel on the "Checker" tab:

Enable Checker for servers:

Go to TOP

Checker history

Also after enabling checker for servers Roxy-WI starts to collect the incident history. It can be useful for future debugging:

Go to TOP

Was this article helpful?

Yes, thanks!
Go back