Skip to content
/ CTBot Public
forked from shurillu/CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266

License

Notifications You must be signed in to change notification settings

ivan140/CTBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTBot


Introduction

CTBot is a simple Arduino class to manage Telegram Bot on ESP8266 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. Don't you know Telegram bots and how to setup one? Check this.

  • Please pay attention to the installed version of ArduinoJson library: it MUST be 5.13.2 or lesser.

News

  • Added support for the 2.5.0 ESP8266 toolchain/library

Feature

  • Manage WiFi connection (methods for connecting to an access point, set a static IP)
  • Send and receive messages
  • Inline keyboards
  • Receive localization messages (NEW)

Supported boards

The library works with the ESP8266 chipset: all the ESP8266 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

  • Gianmaria Mancosu
  • Marco Madlena

Future work

  • Add Telegram inline keyboards
  • Add ESP32 support & testing

Changelog

  • 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

About

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.3%
  • C 2.7%