Constructor: authorization

Back to constructors index



Name Type Required Description
current Bool Optional Current?
official_app Bool Optional Official app?
password_pending Bool Optional Password pending?
hash long Yes Hash
device_model string Yes Device model
platform string Yes Platform
system_version string Yes System version
api_id int Yes Api ID
app_name string Yes App name
app_version string Yes App version
date_created int Yes Date created
date_active int Yes Date active
ip string Yes Ip
country string Yes Country
region string Yes Region

Type: Authorization


$authorization = ['_' => 'authorization', 'current' => Bool, 'official_app' => Bool, 'password_pending' => Bool, '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'];

Or, if you’re into Lua:

authorization={_='authorization', current=Bool, official_app=Bool, password_pending=Bool, 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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.