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
| name | type | description |
|---|---|---|
hash | long | Authorization hash |
bot_id | long | Bot ID |
domain | string | The domain name of the website on which the user has logged in. |
browser | string | Browser user-agent |
platform | string | Platform |
date_created | int | When was the web session created |
date_active | int | When was the web session last active |
ip | string | IP address |
region | string | Region, determined from IP address |
type
history
present in layers 76–229 · constructor id changed 1×
| id | layers |
|---|---|
| #cac943f2 | 76–132 |
| #a6f8f452 | 133–229 |