td icon indicating copy to clipboard operation
td copied to clipboard

SetAuthenticationPhoneNumber don't work

Open Faraon366 opened this issue 1 year ago • 3 comments

calling the function: SetAuthenticationPhoneNumber It returns: Ok. The state changes to:

{'@type': 'updateAuthorizationState', 'authorization_state': {'@type': 'authorizationStateWaitCode', 'code_info': {'@type': 'authenticationCodeInfo', 'phone_number': '+number', 'type': {'@type': 'authenticationCodeTypeTelegramMessage', 'length': 5}, 'timeout': 0}}, '@client_id': 1}

code don't receive. sms You won't be able to send an SMS either, because you won't be able to do a Resend code either.

All authorizations say that the code is authenticationCodeTypeTelegramMessage but this is not the case

Faraon366 avatar Nov 03 '24 19:11 Faraon366

You can create new accounts only though the official mobile Telegram apps.

levlam avatar Nov 04 '24 09:11 levlam

Now it's clear why this is happening. Tell me, please, does Telegram X work official or not?

I'm new to the developer plan. If I'm going to make an application, how do I understand and inform the user that he must register in an offline application. Some kind of confusion. It is not clear whether there is a problem on my part or on the part of the telegram

Faraon366 avatar Nov 04 '24 19:11 Faraon366

The user must register using another app. Then it can log in to your app using QR code authentication, or entering the code sent in the official app.

levlam avatar Nov 04 '24 20:11 levlam