$settings = [ 'app_info' => [ 'api_id' => XXXXXXX, 'api_hash' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', ] ];
$MadelineProto = new MadelineProtoAPI(public_path('session.madeline'), $settings);
$MadelineProto->async(true);
yield $MadelineProto->start();
Thanks.
Hello,
I already have Telegram App ID and HASH and cannot understand from this documentation page (https://docs.madelineproto.xyz/docs/LOGIN.html) how to login with such data.
I tried with:
I'm prompt if I want to login with User or BOT but I already have done the procedure when I created the app on the https://my.telegram.org/ page
Thanks.