1.4 KiB
1.4 KiB
title | description |
---|---|
webAuthorization | webAuthorization attributes, type and example |
Constructor: webAuthorization
Attributes:
Name | Type | Required |
---|---|---|
hash | long | Yes |
bot_id | int | Yes |
domain | string | Yes |
browser | string | Yes |
platform | string | Yes |
date_created | int | Yes |
date_active | int | Yes |
ip | string | Yes |
region | string | Yes |
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'}