initConnection
Initialize connection
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
api_id | int | Ja | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |
device_model | string | Ja | Gerätemodell |
system_version | string | Ja | Operation system version |
app_version | string | Ja | Application version |
system_lang_code | string | Ja | Code for the language used on the device's OS, ISO 639-1 standard |
lang_pack | string | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |
lang_code | string | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |
proxy | InputClientProxy | Nein | Info about an MTProto proxy |
params | JSONValue | Nein | Zusätzliche initConnection-Parameter. Derzeit wird nur das Feld `tz_offset` zur Angabe des Zeitzonenversatzes in Sekunden unterstützt. |
query | !X | Ja | The query itself |
Antworten
X
MTProto RPC
- 400 · CONNECTION_LAYER_INVALID – Layer ungültig.