|
|
@ -21,3 +21,12 @@ To compile and install the lib: |
|
|
|
To use the library, you need: |
|
|
|
To use the library, you need: |
|
|
|
* libcurlpp |
|
|
|
* libcurlpp |
|
|
|
* libjsoncpp |
|
|
|
* libjsoncpp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can use example01.cc to start your own bot or CGI script. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Do not forget to send your web hook URL to Telegram's API network, |
|
|
|
|
|
|
|
otherwise, you cannot send commands to your bot. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In case you build a CGI script, do not forget to add a valid |
|
|
|
|
|
|
|
certificate to your web server, because your bot is only called via |
|
|
|
|
|
|
|
HTTPS! |
|
|
|