WebAuthorization

class pyrogram.raw.base.WebAuthorization

Web authorization

Constructors:

This base type has 1 constructor available.

WebAuthorization

Represents a bot logged in using the Telegram login widget

TL Schema

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

= WebAuthorization

Parameter Tree

WebAuthorization
├── hash → long
├── bot_id → long
├── domain → string
├── browser → string
├── platform → string
├── date_created → int
├── date_active → int
├── ip → string
└── region → string

Example

WebAuthorization(
    hash=0,
    bot_id=0,
    domain="text",
    browser="text",
    platform="text",
    date_created=0,
    date_active=0,
    ip="text",
    region="text",
)