From f13b7029e9af43282ebe6c2e9bb4dd749c8e450a Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 23 Jul 2018 02:09:18 +0300 Subject: Move docs to gh-pages branch --- docs/index.html | 132 -------------------------------------------------------- 1 file changed, 132 deletions(-) delete mode 100644 docs/index.html (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 3c5f48b..0000000 --- a/docs/index.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -tgbot-cpp: Main Page - - - - - - - - - - - - - - - -
-
- - - - - - -
-
tgbot-cpp -
-
-
- - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
tgbot-cpp Documentation
-
-
-

Go to GitHub

-

-Library 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:

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

To compile the library execute this commands:

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

-Bot compilation

-

With CMake: Example CMakeLists.txt

-

Without CMake:

1 g++ telegram_bot.cpp -o telegram_bot --std=c++11 -I/usr/local/include -lTgBot -lboost_system -lssl -lcrypto -lpthread

Also: You can use Docker to build and run your bot. 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

-
-
- - - - -- cgit v1.2.3