The code was sent via the previously configured login email »
auth.sentCodeTypeEmailCode#5a159841 flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int next_phone_login_date:flags.2?int = auth.SentCodeType;
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 |
next_phone_login_date | flags.2?int | If set, contains an absolute UNIX timestamp indicating when will the user be able to authorize with a code sent to the user's phone number |
Some methods require the client to verify if the data obtained from an external source matches a certain pattern.
How to register a user's phone to start using the API.