authorization
authorization
Section titled “authorization”No description provided by the pinned schema.
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 | — | No description provided by the pinned schema. |
| current | flags.0?true | flags.0 | — | No description provided by the pinned schema. |
| official_app | flags.1?true | flags.1 | — | No description provided by the pinned schema. |
| password_pending | flags.2?true | flags.2 | — | No description provided by the pinned schema. |
| encrypted_requests_disabled | flags.3?true | flags.3 | — | No description provided by the pinned schema. |
| call_requests_disabled | flags.4?true | flags.4 | — | No description provided by the pinned schema. |
| unconfirmed | flags.5?true | flags.5 | — | No description provided by the pinned schema. |
| hash | long | — | — | No description provided by the pinned schema. |
| device_model | string | — | — | No description provided by the pinned schema. |
| platform | string | — | — | No description provided by the pinned schema. |
| system_version | string | — | — | No description provided by the pinned schema. |
| api_id | int | — | — | No description provided by the pinned schema. |
| app_name | string | — | — | No description provided by the pinned schema. |
| app_version | string | — | — | No description provided by the pinned schema. |
| date_created | int | — | — | No description provided by the pinned schema. |
| date_active | int | — | — | No description provided by the pinned schema. |
| ip | string | — | — | No description provided by the pinned schema. |
| country | string | — | — | No description provided by the pinned schema. |
| region | string | — | — | No description provided by the pinned schema. |
| 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.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import Authorization
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = AuthorizationResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Authorization - Accepted by:
account.authorizations - Returned by:
auth.acceptLoginToken
Provenance
Section titled “Provenance”- layer: 228
- structural source:
tdlib - canonical schema: https://raw.githubusercontent.com/tdlib/td/refs/heads/master/td/generate/scheme/telegram_api.tl
- prose merge precedence: TDLib → Telegram Desktop → Core JSON
- source note: Canonical structure is the pinned TDLib telegram_api.tl; Layer 228 comes only from the matching Telegram Desktop end-of-file marker; core.telegram.org inputs enrich documentation and RPC error metadata without overriding structure.
Source-diff notes
Section titled “Source-diff notes”- tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery