Moritz Sternemann 1261a90dae Merge pull request #6 from semuka/inlineButtons
Added new types
2018-02-10 17:07:11 +01:00
2017-05-05 21:20:41 +02:00
2017-12-04 10:37:04 +11:00
2015-12-29 16:44:16 +01:00
2015-12-29 16:44:16 +01:00
2017-05-05 21:10:53 +02:00
2017-12-04 10:37:04 +11:00
2017-12-04 10:37:04 +11:00
2017-12-04 10:37:04 +11:00
2017-12-04 10:37:04 +11:00
2015-12-29 16:50:20 +01:00

Introduction

Qt5 library for the Telegram Bot API (https://core.telegram.org/bots/api). It can be used to interact with the API directly and/or configured to automatically notify you on updates using Qts signals and slots. You need a bot token to make API calls. Text the @botfather to create a new bot and obtain a token.

Usage

Create a lib directory in your project directory and cd into it:

mkdir lib && cd lib

Clone the repo to your projects source directory:

git clone https://github.com/iMoritz/QtTelegramBot.git

Alternatively you can add QtTelegramBot as a git submodule to always stay up-to-date:

git submodule add https://github.com/iMoritz/QtTelegramBot.git

In your project file (project.pro) add this include:

include($$PWD/lib/QtTelegramBot/QtTelegramBot.pri)

Now you can use the Bot classes using:

#include "qttelegrambot.h"

Everything in QtTelegramBot is in the Telegram namespace.

Examples

Examples can be found in the examples directory. You can build them in QtCreator or using the command line.

Description
Qt5 library for the Telegram Bot API (https://core.telegram.org/bots/api)
Readme MIT 65 KiB
Languages
C++ 98.1%
QMake 1.9%