PHPackages                             stajor/telegram-bot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stajor/telegram-bot

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stajor/telegram-bot
===================

Telegram Bot

4.5.11(4y ago)56.7k2MITPHPPHP &gt;=8.0

Since Jun 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Stajor/telegram-bot)[ Packagist](https://packagist.org/packages/stajor/telegram-bot)[ RSS](/packages/stajor-telegram-bot/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (26)Used By (0)

PHP Telgram Bot API
===================

[](#php-telgram-bot-api)

PHP wrapper for [Telegram's Bot API](https://core.telegram.org/bots/api).

[![Minimal PHP version](https://camo.githubusercontent.com/94f817ec7100f9f5775aac0faf2928e5f9ccab515d5abfa56bb5630bb3f5029c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7374616a6f722f74656c656772616d2d626f742e737667)](https://camo.githubusercontent.com/94f817ec7100f9f5775aac0faf2928e5f9ccab515d5abfa56bb5630bb3f5029c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7374616a6f722f74656c656772616d2d626f742e737667)[![Build Status](https://camo.githubusercontent.com/96f0c84f017d007da324d8a87fb03bf1b9bb14bfa6be6628eaf2140ee283de02/68747470733a2f2f6170692e7472617669732d63692e6f72672f5374616a6f722f74656c656772616d2d626f742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Stajor/telegram-bot)

Installation
------------

[](#installation)

Add this line to your application's composer.json:

```
{
    "require": {
        "stajor/telegram-bot": "^3.0"
    }
}
```

and run `composer update`

**Or** run this command in your command line:

```
$ composer require stajor/telegram-bot

```

Telegram API support
--------------------

[](#telegram-api-support)

All types and methods of the Telegram Bot API 3.6 are supported.

Configuration
-------------

[](#configuration)

First of all you need create your own bot and obtain a token

[How do I create a bot?](https://core.telegram.org/bots#3-how-do-i-create-a-bot)

Usage
-----

[](#usage)

You can use **Telegram::Bot::Api** standalone

```
