GithubHelp home page GithubHelp logo

mshobeyri / qttelegrambot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moritzsternemann/qttelegrambot

0.0 1.0 0.0 22 KB

Qt5 library for the Telegram Bot API (https://core.telegram.org/bots/api)

License: MIT License

QMake 1.83% C++ 98.17%

qttelegrambot's Introduction

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 Qt’s 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.

qttelegrambot's People

Contributors

imoritz avatar moritzsternemann avatar

Watchers

Mehrdad Shobeyri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.