authorization
Signature
Section titled “Signature”authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true encrypted_requests_disabled:flags.3?true call_requests_disabled:flags.4?true unconfirmed:flags.5?true 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 = Authorization;Result type
Section titled “Result type”Authorization
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| current | flags.0?true | flags.0 | — | |
| official_app | flags.1?true | flags.1 | — | |
| password_pending | flags.2?true | flags.2 | — | |
| encrypted_requests_disabled | flags.3?true | flags.3 | — | |
| call_requests_disabled | flags.4?true | flags.4 | — | |
| unconfirmed | flags.5?true | flags.5 | — | |
| 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 | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| current | 0 | Controlled by flags; present when this bit is set. |
| official_app | 1 | Controlled by flags; present when this bit is set. |
| password_pending | 2 | Controlled by flags; present when this bit is set. |
| encrypted_requests_disabled | 3 | Controlled by flags; present when this bit is set. |
| call_requests_disabled | 4 | Controlled by flags; present when this bit is set. |
| unconfirmed | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import AuthorizationPublic access: miniproto.raw.types.Authorization.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Authorization - Accepted by:
account.authorizations - Returned by:
auth.acceptLoginToken