td icon indicating copy to clipboard operation
td copied to clipboard

Problems with SetAuthenticationPhoneNumber function

Open a1ex33 opened this issue 2 months ago • 3 comments

Hello. We are having problems sending authorization codes. Everything has been working fine for over a year, but recently some users have not received authorization codes. The call to the SetAuthenticationPhoneNumber function is completed successfully and returns Ok.
We also receive the authorizationStateWaitCode event. But the code itself does not arrive to another authorized Telegram session. What could be the reason?

a1ex33 avatar Nov 01 '25 15:11 a1ex33

It is up to the server how and when authorization codes are sent. Application can't affect this behavior.

levlam avatar Nov 01 '25 19:11 levlam

It is up to the server how and when authorization codes are sent. Application can't affect this behavior.

Maybe there are some recommendations? What should I avoid and stick to? I've noticed that codes from official web versions are successfully sent to the same numbers.

a1ex33 avatar Nov 01 '25 21:11 a1ex33

I can't give any relevant recommendations.

levlam avatar Nov 01 '25 21:11 levlam