Skip to content

Login with app ID and HASH #929

@nulele

Description

@nulele

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:

$settings = [ 'app_info' => [ 'api_id' => XXXXXXX, 'api_hash' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', ] ];
$MadelineProto = new MadelineProtoAPI(public_path('session.madeline'), $settings);
$MadelineProto->async(true);
yield $MadelineProto->start();

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions