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

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
api_idintNo description provided by the pinned schema.
device_modelstringNo description provided by the pinned schema.
system_versionstringNo description provided by the pinned schema.
app_versionstringNo description provided by the pinned schema.
system_lang_codestringNo description provided by the pinned schema.
lang_packstringNo description provided by the pinned schema.
lang_codestringNo description provided by the pinned schema.
proxyflags.0?InputClientProxyflags.0No description provided by the pinned schema.
paramsflags.1?JSONValueflags.1No description provided by the pinned schema.
query!XNo description provided by the pinned schema.
ParameterBitMeaning
proxy0Controlled by flags; present when this bit is set.
params1Controlled 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
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = InitConnection

X (no selected constructor result-family page)

CodeErrorDescription
400CONNECTION_LAYER_INVALIDLayer 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=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