![Build](https://github.com/smartnode/telebot/workflows/Build/badge.svg)

# 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:
```sh
sudo apt-get install libcurl4-openssl-dev libjson-c-dev cmake binutils make
```
On Mac OSX, first insall macports from [MacPorts](https://www.macports.org/install.php) and in Terminal
```sh
sudo port install cmake json-c curl
```
To compile the library execute following commands:
```sh
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](https://core.telegram.org/bots) page to read about how to register your brand new echo bot with Telegram platform and see it in action.

![Build](https://github.com/smartnode/telebot/workflows/Build/badge.svg)
![GitHub repo size](https://img.shields.io/github/repo-size/smartnode/telebot) 
![GitHub issues](https://img.shields.io/github/issues/smartnode/telebot) 
![GitHub pull requests](https://img.shields.io/github/issues-pr/smartnode/telebot) 
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

# 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:
```sh
sudo apt-get install libcurl4-openssl-dev libjson-c-dev cmake binutils make
```
On Mac OSX, first insall macports from [MacPorts](https://www.macports.org/install.php) and in Terminal
```sh
sudo port install cmake json-c curl
```
To compile the library execute following commands:
```sh
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](https://core.telegram.org/bots) page to read about how to register your brand new echo bot with Telegram platform and see it in action.

Add useful badges to readme file
Add useful badges to readme file