webAuthorization

Represents a bot logged in using the Telegram login widget

Constructor schema is available as of layer 133. Switch ยป

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

WebAuthorization

Related pages

Telegram Login Widget