telegram api constructor · layer 229 · #a6f8f452

webAuthorization

Represents a bot logged in using the Telegram login widget

definition

webAuthorization#a6f8f452 hash:long bot_id:long domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization;

parameters

nametypedescription
hashlongAuthorization hash
bot_idlongBot ID
domainstringThe domain name of the website on which the user has logged in.
browserstringBrowser user-agent
platformstringPlatform
date_createdintWhen was the web session created
date_activeintWhen was the web session last active
ipstringIP address
regionstringRegion, determined from IP address

type

WebAuthorization

history

present in layers 76–229 · constructor id changed 1×

idlayers
#cac943f276–132
#a6f8f452133–229