Skip to content

denzen84/telebot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telebot

C Library for Telegram bot API that uses json-c and libcurl

Compilation

You need to install libraries and build tools such as CMake. On Debian-based Linux distributions you can do it as follows:

sudo apt-get install libcurl3-dev libjson0 libjson0-dev cmake binutils make

On Mac OSX, first insall macports from MacPorts and in Terminal

sudo port install cmake json-c curl

To compile the library execute following commands:

cd [your repository]
mkdir -p Build && cd Build
cmake ../
make

This will create echobot executable under Build/test folder. This is a simple dummy bot which echoes back the messages sent to it. Head over to Telegram Bots page to read about how to register your brand new echo bot with Telegram platform and see it in action.

About

Telegram Bot API in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.4%
  • CMake 0.6%