1.6 KiB
1.6 KiB
title | description | image |
---|---|---|
webAuthorization | Web authorization | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: webAuthorization
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'];
PWRTelegram json-encoded version:
{"_": "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'}