All Projects → shurillu → CTBot

shurillu / CTBot

Licence: MIT license
A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to CTBot

sqlite micro logger arduino
Fast and Lean Sqlite database logger for Microcontrollers
Stars: ✭ 128 (+12.28%)
Mutual labels:  esp8266-arduino, esp32-arduino
Farm-Data-Relay-System
A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
Stars: ✭ 97 (-14.91%)
Mutual labels:  esp8266-arduino, esp32-arduino
TinyPixelMapper
a Pixelmapping software for the ESP32 and ESP8266 for addressible LED Strips, with a OSC controll interface and FFT
Stars: ✭ 22 (-80.7%)
Mutual labels:  esp8266-arduino, esp32-arduino
ATM90E32
Updated version of the ATM90E32 Arduino library
Stars: ✭ 22 (-80.7%)
Mutual labels:  esp8266-arduino, esp32-arduino
ESPAsyncE131
Asynchronous E1.31 (sACN) library for Arduino ESP8266 and ESP32
Stars: ✭ 97 (-14.91%)
Mutual labels:  esp8266-arduino, esp32-arduino
ESP32Partitions
No description or website provided.
Stars: ✭ 30 (-73.68%)
Mutual labels:  esp8266-arduino, esp32-arduino
Somfy Remote
Somfy remote control emulator connected to MQTT
Stars: ✭ 19 (-83.33%)
Mutual labels:  esp8266-arduino, esp32-arduino
EmbUI
Embedded WebUI Interface
Stars: ✭ 46 (-59.65%)
Mutual labels:  esp8266-arduino, esp32-arduino
ESP DoubleResetDetector
ESP_DoubleResetDetector is a library for the ESP32/ESP8266 Arduino platform to enable trigger configure mode by resetting twice.
Stars: ✭ 34 (-70.18%)
Mutual labels:  esp8266-arduino, esp32-arduino
pinterest-telegram-bot
Downloads Pinterest image from the given Pinterest shared URL and sends it back in telegram
Stars: ✭ 22 (-80.7%)
Mutual labels:  telegram-bot
esp8266-1-channel-relay-board-with-mqtt
Sketch to control an esp8266-01 stc 15f104W powered 1-channel relay board
Stars: ✭ 26 (-77.19%)
Mutual labels:  esp8266-arduino
low-power-wifi
Experiments in low-power-wifi on esp8266, esp32, and ...
Stars: ✭ 35 (-69.3%)
Mutual labels:  esp8266-arduino
QwerteeTelegramBot
This bot shows you today's posts from Qwertee.
Stars: ✭ 18 (-84.21%)
Mutual labels:  telegram-bot
Truecaller-Smsbomber telegram bot
Telegram bot which has truecaller and smsbomber features
Stars: ✭ 30 (-73.68%)
Mutual labels:  telegram-bot
compress-pdf-tg-bot
A Telegram bot can compress the size of PDF documents. Useful for digital documentations.
Stars: ✭ 24 (-78.95%)
Mutual labels:  telegram-bot
FreeSteamGames-TelegramBot
A Telegram Bot that sends you a message when a game on steam is free
Stars: ✭ 35 (-69.3%)
Mutual labels:  telegram-bot
quizquickanswer-telegram-game-bot
🎮 Funny quiz game for telegram, play with friends on your group!
Stars: ✭ 15 (-86.84%)
Mutual labels:  telegram-bot
super-bot
radio-t bot слушает чат telegram и реагирует на определенные команды и фрагменты текста.
Stars: ✭ 38 (-66.67%)
Mutual labels:  telegram-bot
telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (-86.84%)
Mutual labels:  telegram-bot
grouphelperbot
A Telegram Bot made to help group admins, with Italian/English support.
Stars: ✭ 26 (-77.19%)
Mutual labels:  telegram-bot

CTBot

Branch: master - Build Status


Introduction

CTBot is a simple Arduino class to manage Telegram Bot on ESP8266/ESP32 platform. It relies on ArduinoJson library so, in order to use a CTBot object, you need to install the ArduinoJson library first (you can use library manager). You also need to install the ESP8266 Arduino Core and Library or the ESP32 Arduino Core and Library. Don't you know Telegram bots and how to setup one? Check this.

  • Now ArduinoJson version 5 and 6 are supported!
  • getNewMessage method now is more responsive!!

News

  • ESP32 supported
  • ArduinoJson version 5 and 6 supported

Feature

  • ESP8266/ESP32 supported
  • Manage WiFi connection (methods for connecting to an access point, set a static IP)
  • Send and receive messages
  • Inline keyboards
  • Receive localization messages
  • Reply keyboards
  • Receive contacts messages

Supported boards

The library works with the ESP8266/ESP32 chipset: all the ESP8266/ESP32 boards are supported.

Simple usage

See the EchoBot example provided in the examples folder.

Reference

Here how to use the library.

Special thanks

A special thanks go to these people who helped me making this library

Future work

  • Add Telegram inline keyboards
  • Add ESP32 support & testing
  • ArduinoJSON 6 support

Changelog

  • 2.1.9 ESP8266 fingerprint key updated
  • 2.1.8 Fixed echobot and lightbot examples
  • 2.1.7 Telegram User ID is now int64 as Telegram Bot API changes
  • 2.1.6 Fix GET url adding full symbolic name
  • 2.1.5 Added SSL certificate verification for ESP32 SOC
  • 2.1.4 Fix an issue involving the inline keyboard
  • 2.1.3 correct a platformIO library issue that doesn't download the CTBotWifiSetup.* files
  • 2.1.2 getNewMessage is no more blocking as before; moved all static strings to FLASH (only for ESP8266 - +1 KB heap free)
  • 2.1.1 Memory optimization
  • 2.1.0 ArduinoJSON 5 and 6 support
  • 2.0.0 ESP32 support
  • 1.4.1 New Telegram Server IP and fingerprint update
  • 1.4.0 Reply keyboard added. Contact messages functionality added
  • 1.3.2 Bug fixing and new functionalities:
    • URL encoding: now it is possible to send all kind of characters
    • Added group infos (ID and Group title) in the TBMessage structure
  • 1.3.1 Fixed an issue that doesn't support negative and 64 bit values for chatID/groupID: now it use int64 numbers. This issue involved the CTBot::sendMessage() method.
  • 1.3.0 added new functionalities:
    • 2.5.0 ESP8266 toolchain support
    • Telegram server fingerprint authentication added
    • bugfixing:
      • 'TBUser' data now are populated correctly
      • Fixed a bug that doesn't send correctly some kind of messages
  • 1.2.0 Added localization messages, bug fixing
  • 1.1.1 Minor bug fixing
  • 1.1.0 Added inline keyboards, bug fixing
  • 1.0.1 Better performance, new algorithm for Telegram server queries: now sending and receiving messages requires almost no time.
  • 1.0.0 Initial version
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].