/Api

Native PHP Wrapper for Telegram BOT API

Primary LanguagePHPMIT LicenseMIT

PHP Telegram Bot Api

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

An extended php wrapper for telegram bot api

Install

Via Composer

$ composer require telegram-bot/api

Usage

$bot = new TelegramBot\Api\BotApi('YOUR_BOT_API_TOKEN');

$bot->sendMessage($chatId, $messageText);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mail@igusev.ru instead of using the issue tracker.

Credits

License

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