PHP SDK and samples for Bale bot messenger.
You'll need to create your bot by @Bot_Father. Bot_Father gives you a Token to start.
composer require aliazizi/bale-bot-sdk
require __DIR__.'/../vendor/autoload.php';
$api = new \BaleBot\Api('Your-Token');
You can download it here. A step by step series of examples that tell you how to get a development env running
End with an example of getting some data out of the system or using it for a little demo
$api->sendTextMessage('Message','to channel name without at sign')
$api->sendPhotoMessage($filepath,'to channel name without at sign','Caption')
$api->sendVideoMessage($filepath,'to channel name without at sign','Caption')
If you would like to contribute to this project, please feel free to submit a pull request. Before you do, take a look at the contributing guide.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Ali Akbar Azizi - aliazizi
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details