Download the PHP package vscompany28/telegram-bot-api without Composer
On this page you can find all versions of the php package vscompany28/telegram-bot-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vscompany28/telegram-bot-api
More information about vscompany28/telegram-bot-api
Files in vscompany28/telegram-bot-api
Package telegram-bot-api
Short Description PHP Wrapper for Telegram Bot API
License MIT
Homepage https://github.com/TelegramBot/Api
Informations about the package telegram-bot-api
PHP Telegram Bot Api
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.
Installation
Via Composer
Usage
See example DevAnswerBot (russian).
API Wrapper
Send message
Send document
Send message with reply keyboard
Send message with inline keyboard
Send media group
Client
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
- Register at http://appmetrica.yandex.com/
- After registration you will be prompted to create Application. Please use @YourBotName as a name.
- Save an API key from settings page, you will use it as a token for Botan API calls.
- Download lib for your language, and use it as described below. Don`t forget to insert your token!
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
Standalone
API Wrapper
You can use method 'getUpdates()'and all incoming messages will be automatically tracked as Message
-event.
Client
All registered commands are automatically tracked as command name
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Ilya Gusev
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of telegram-bot-api with dependencies
ext-curl Version *