4baac3178e
Add PHP, Lua language tag to Code area
1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
webAuthorization | webAuthorization attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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'}