telegram api constructor · layer 229 · #2ea2c0d4
auth.authorization
Contains user authorization info.
definition
auth.authorization#2ea2c0d4 flags:# setup_password_required:flags.1?true otherwise_relogin_days:flags.1?int tmp_sessions:flags.0?int future_auth_token:flags.2?bytes user:User = auth.Authorization;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
setup_password_required | true | Suggests the user to set up a 2-step verification password to be able to log in again |
otherwise_relogin_days | int | If and only if setup_password_required is set and the user declines to set a 2-step verification password, they will be able to log into their account via SMS again only after this many days pass. |
tmp_sessions | int | Temporary passport sessions |
future_auth_token | bytes | A future auth token |
user | User | Info on authorized user |
type
auth.Authorization · other constructors: auth.authorizationSignUpRequired
history
present in layers 2–229 · constructor id changed 4×
| id | layers |
|---|---|
| #f6b673a4 | 2–23 |
| #ff036af1 | 46 |
| #cd050916 | 62–134 |
| #33fb7bb8 | 135–151 |
| #2ea2c0d4 | 152–229 |