Skip to content

FrancescoRocca/tgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgbot

A minimal C Telegram API library.

Requirements

  • libcurl
  • json-c

Note: This project is purely educational. It does not aim to cover the entire Telegram Bot API, but only a selected subset of methods.

How to build

$ meson setup build
$ cd build
$ meson compile
$ ninja install

Examples

You can find some examples here.

Do you want to run an example?

$ cd build
$ ninja <EXAMPLE>
# to build the echobot:
$ ninja echobot

Supported Types

See types.md.

Supported Methods

See methods.md.

Roadmap

  • sendAudio
  • sendDocument
  • sendVideo

About

A minimal C Telegram Bot API library. (wip)

Topics

Resources

License

Stars

Watchers

Forks

Contributors