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

nametypedescription
flags#Flags, see TL conditional fields
setup_password_requiredflags.1?trueSuggests the user to set up a 2-step verification password to be able to log in again
otherwise_relogin_daysflags.1?intIf 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_sessionsflags.0?intTemporary passport sessions
future_auth_tokenflags.2?bytesA future auth token
userUserInfo on authorized user

type

auth.Authorization · other constructors: auth.authorizationSignUpRequired

history

present in layers 2–229 · constructor id changed 4×

idlayers
#f6b673a42–23
#ff036af146
#cd05091662–134
#33fb7bb8135–151
#2ea2c0d4152–229