Skip to content

initConnection

No description provided by the pinned schema.

initConnection#c1cd5ea9 flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;

X

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
api_id int — — No description provided by the pinned schema.
device_model string — — No description provided by the pinned schema.
system_version string — — No description provided by the pinned schema.
app_version string — — No description provided by the pinned schema.
system_lang_code string — — No description provided by the pinned schema.
lang_pack string — — No description provided by the pinned schema.
lang_code string — — No description provided by the pinned schema.
proxy flags.0?InputClientProxy flags.0 — No description provided by the pinned schema.
params flags.1?JSONValue flags.1 — No description provided by the pinned schema.
query !X — — No description provided by the pinned schema.
Parameter Bit Meaning
proxy 0 Controlled by flags; present when this bit is set.
params 1 Controlled by flags; present when this bit is set.
from miniproto.raw.functions import InitConnection

Public access: miniproto.raw.functions.InitConnection.

from miniproto.raw.functions import InitConnection
# Refer to the raw request class without constructing it or calling Telegram
request_type = InitConnection

X (no selected constructor result-family page)

Code Error Description
400 CONNECTION_LAYER_INVALID Layer invalid.

InputClientProxy, JSONValue, X (no selected constructor result-family page) Known selected constructors: inputClientProxy, jsonArray, jsonBool, jsonNull, jsonNumber, jsonObject, jsonString

X (no selected constructor result-family page)

invokeAfterMsg, invokeAfterMsgs, invokeWithApnsSecret, invokeWithBusinessConnection, invokeWithGooglePlayIntegrity, invokeWithLayer, invokeWithMessagesRange, invokeWithReCaptcha, invokeWithTakeout, invokeWithoutUpdates

  • unauthenticated allowed
  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret