tgbot-cpp
tgbot-cpp Documentation

Compilation

Firstly you need to install some dependencies such as Boost and build tools such as CMake. On Debian-based distibutives you can do it with these commands:

sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev

To compile the library execute this commands:

cd /path/where/you/have/cloned/the/library/repository
cmake .
make -j4
sudo make install

That's all. All you have to do now is just link compiled library to your project.

If you want, you can also use Docker to build and run your bot. Just set the base image of your's Dockerfile to reo7sp/tgbot-cpp.

Samples

All samples are located here

Feedback

Feel free to create new issues on GitHub or contact me on Telegram

Licence

The MIT License