MadelineProtoDocs/old_docs/API_docs_v102/constructors/webAuthorization.md
2019-06-24 15:45:02 +02:00

1.3 KiB

title description image
webAuthorization Web authorization https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: webAuthorization

Back to constructors index

Web authorization

Attributes:

Name Type Required Description
hash long Yes Hash
bot_id int Yes Bot ID
domain string Yes Domain
browser string Yes Browser
platform string Yes Platform
date_created int Yes Date created
date_active int Yes Date active
ip string Yes Ip
region string Yes Region

Type: WebAuthorization

Example:

$webAuthorization = ['_' => 'webAuthorization', 'hash' => long, 'bot_id' => int, 'domain' => 'string', 'browser' => 'string', 'platform' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'region' => 'string'];

Or, if you're into Lua:

webAuthorization={_='webAuthorization', hash=long, bot_id=int, domain='string', browser='string', platform='string', date_created=int, date_active=int, ip='string', region='string'}