jungle-bay/telegram-bot-cli

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP CLI Utility for Telegram Bot

1.0 2017-12-12 09:24 UTC

This package is not auto-updated.

Last update: 2024-01-08 21:28:32 UTC


README

Telegram Bot CLI Logo

Telegram Bot CLI

Travis CI Scrutinizer CI Codecov

This is PHP CLI Utility for Telegram Bot.
I decided not to include this package in the main Telegram Bot API library, as it is only needed for development!

Install

The recommended way to install is through Composer:

composer require --dev jungle-bay/telegram-bot-cli

The simplest example of use

php ./vendor/bin/telegram-bot-cli getWebhookInfo --token 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11

Out

Get webhook info for %bot_name%

URL                                    %webhool_url%
Has custom certificate                 %bool%
Pending update count                   %integer%

Docs

See the complete docs in here.

Note

The basis for your bot can use Telegram Bot Platform.

License

This bundle is under the MIT license. See the complete license in the file: here.