- resendCode(
client: ITelegramClient,
params: { abortSignal?: AbortSignal; phone: string; phoneCodeHash: string },
): Promise<SentCode> Parameters
- client: ITelegramClient
- params: { abortSignal?: AbortSignal; phone: string; phoneCodeHash: string }
Optional
abortSignal?: AbortSignal
phone: string
phoneCodeHash: string
Returns Promise<SentCode>
Re-send the confirmation code using a different type.
The type of the code to be re-sent is specified in the
nextType
attribute of SentCode object returned by sendCode