InitConnection

class pyrogram.api.functions.InitConnection(*, api_id: int, device_model: str, system_version: str, app_version: str, system_lang_code: str, lang_pack: str, lang_code: str, query, proxy=None)
ID

0x785188b8

Parameters:
  • api_idint 32-bit
  • device_modelstr
  • system_versionstr
  • app_versionstr
  • system_lang_codestr
  • lang_packstr
  • lang_codestr
  • query – Any method from pyrogram.api.functions
  • proxy (optional) – InputClientProxy
Raises:

RPCError

Returns:

Any object from pyrogram.api.types