Answer the question
In order to leave comments, you need to log in
Are there any alternatives to the complete_phone_login method in MadelineProto?
As a final result, I need to get auth.Authorization .
Previously, there was a method where it was possible to transfer phone_code_hash
and phone_code
everything worked. And right now, through complete_phone_login
it is not clear which of the users will be authorized (I use the Amp
server).
What method can you use right now to by phone
and phone_code
log phone_code_hash
in?
Answer the question
In order to leave comments, you need to log in
Found:
$mtproto->method_call(
'auth.signIn',
[
'phone_number' => $phone['phone_number'],
'phone_code_hash' => $phone['phone_code_hash'],
'phone_code' => $args['code']
],
['datacenter' => 2]
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question