dontgiveafish / yellow-plane-sdk
Yellow Plane SDK
3.0
2024-08-12 20:50 UTC
Requires
- php: >=8
- guzzlehttp/guzzle: ^7.9
This package is not auto-updated.
Last update: 2024-10-30 11:55:27 UTC
README
Yellow plane is a telegram bot that is designed to broadcast messages to the different teams.
To install SDK with Composer run this command:
composer require dontgiveafish/yellow-plane-sdk
To broadcast a message use this simple interface:
use Dontgiveafish\YellowPlane; use GuzzleHttp\Client as Guzzle; $plane = new YellowPlane\Client(new Guzzle(), 'http://bot-gateway.org/v1', 'team'); $plane->broadcast('Hello world!');
References
Yellow plane backend and infrastructure: https://github.com/dontgiveafish/yellow-plane-telegram-bot