mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 21:37:49 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
authorization | authorization attributes, type and example |
Constructor: authorization
Attributes:
Name | Type | Required |
---|---|---|
hash | long | Required |
device_model | string | Required |
platform | string | Required |
system_version | string | Required |
api_id | int | Required |
app_name | string | Required |
app_version | string | Required |
date_created | int | Required |
date_active | int | Required |
ip | string | Required |
country | string | Required |
region | string | Required |
Type: Authorization
Example:
$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ];