The code was sent via the previously configured login email »
Constructor schema is available as of layer 156. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
apple_signin_allowed | flags.0?true | Whether authorization through Apple ID is allowed |
google_signin_allowed | flags.1?true | Whether authorization through Google ID is allowed |
email_pattern | string | Pattern of the email |
length | int | Length of the sent verification code |
reset_available_period | flags.3?int | Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users). |
reset_pending_date | flags.4?int | An email reset was already requested, and will occur at the specified date. |
Some methods require the client to verify if the data obtained from an external source matches a certain pattern.
Reset the login email ».
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
How to register a user's phone to start using the API.