Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Client: add call for resendCode request #1020

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wildtylus
Copy link

TelegramClient: added a call to resend code request.
The call needs two parameters:

  • phoneNumber - number used within sendCode() request
  • phoneCodeHash - hash received as a result from sendCode() request
    Note: Telegram switches the type of code it sends during resend. If sendCode request got a Telegram message with the code, resendCode request will get SMS message with the code.
    more details: https://core.telegram.org/method/auth.resendCode

@maurei
Copy link

maurei commented Oct 5, 2021

Why is this not merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants