Download the PHP package telegram-bot/api without Composer

On this page you can find all versions of the php package telegram-bot/api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?
Rate from 1 - 5
Rated 5.00 based on 1 reviews

All versions of api with dependencies

Informations about the package api

PHP Telegram Bot Api

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads

An extended native php wrapper for Telegram Bot API without requirements. Supports all methods and types of responses.

Bots: An introduction for developers

Bots are special Telegram accounts designed to handle messages automatically. Users can interact with bots by sending them command messages in private or group chats.

You control your bots using HTTPS requests to bot API.

The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create and set up a bot, please consult Introduction to Bots and Bot FAQ.


Via Composer


See example DevAnswerBot (russian).

API Wrapper

Send message

Send document

Send message with reply keyboard

Send message with inline keyboard

Send media group


Botan SDK (not supported more)

Botan is a telegram bot analytics system based on Yandex.Appmetrica. In this document you can find how to setup Yandex.Appmetrica account, as well as examples of Botan SDK usage.

Creating an account

Since we are only getting started, you may discover that some existing reports in AppMetriсa aren't properly working for Telegram bots, like Geography, Gender, Age, Library, Devices, Traffic sources and Network sections. We will polish that later.

SDK usage


API Wrapper

You can use method 'getUpdates()'and all incoming messages will be automatically tracked as Message-event.


All registered commands are automatically tracked as command name

Change log

Please see CHANGELOG for more information what has changed recently.



Please see CONTRIBUTING for details.


If you discover any security related issues, please email [email protected] instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.

Requires php Version >=5.5.0
ext-curl Version *

The package telegram-bot/api contains the following files

Loading the files please wait ....