Contains info on a confirmation code message sent via Telegram.
You can force resending the message via SMS by invoking the method auth.sendSms.
Constructor schema is available as of layer 50. Switch ยป
Name | Type | Description |
---|---|---|
phone_registered | Bool | The given number corresponds to a registered Telegram user |
phone_code_hash | string | Message identifier |
send_call_timeout | int | Delay in seconds before calling auth.sendCall |
is_password | Bool | The sent code is a text password |