A third party Telegram client library danog/MadelineProto wrapper for Laravel
generalov.viktar/laravel-madeline-proto is a Laravel package for a third party telegram client library danog/madelineproto wrapper for laravel.
It currently has 1 GitHub stars and 36 downloads on Packagist.
Install it with composer require generalov.viktar/laravel-madeline-proto.
Discover more Laravel packages by generalov.viktar
or browse all Laravel packages to compare alternatives.
Last updated
A third party Telegram client library danog/MadelineProto wrapper for Laravel.
Add the laravel-madeline-proto to the project dependency:
composer require generalov.viktar/laravel-madeline-proto
Then publish the telegram.php config file:
php artisan vendor:publish --provider="GenVik\MadelineProto\MadelineProtoServiceProvider"
Set up the Telegram API key by providing env variables:
MP_TELEGRAM_API_ID=... //your telegram api id here
MP_TELEGRAM_API_HASH=... //your telegram api hash here
This wrapper package is still not wrapping all the apis yet, I'm still focusing on wrapping the messages api.
If you can't find the method that you want in Messages facade or need to use the default danog/MadelineProto api, you might want to use MadelineProto::getClient() facade method. It will return danog\MadelineProto\API object where you can call all the method provided by the danog/MadelineProto library.