


To interact with the Telegram bot, we’ll use the Universal Telegram Bot Library created by Brian Lough that provides an easy interface for the Telegram Bot API.įollow the next steps to install the latest release of the library.

We’ll program the ESP32 and ESP8266 boards using Arduino IDE, so make sure you have them installed in your Arduino IDE. Save the group ID because you’ll need it later. Go to Google Play or App Store, download and install Telegram. The ESP32/ESP8266 will interact with the Telegram bot to receive and handle the messages, and send responses to the Telegram group. You control your bots using HTTPS requests to Telegram Bot API“. Users can interact with bots by sending them messages, commands and inline requests. “ Bots are third-party applications that run inside Telegram. Telegram allows you to create bots that you can interact with. You can easily install it in your smartphone (Android and iPhone) or computer (PC, Mac and Linux).

Telegram Messenger is a cloud-based instant messaging and voice over IP service. As an example, we’ll show you how to send commands to control outputs and how to send responses from the bot to the group.The bot will be added to the group so that the members can interact with it.You’ll create a group where you can add several people you want to have control and receive notifications from the bot.In this tutorial you’ll create a telegram bot to interact with the ESP32 or ESP8266 boards.
