InitConnection
- class pyrogram.raw.functions.InitConnection
Initialize connection
- Details:
Layer:
196ID:
C1CD5EA9
- Parameters:
api_id (
int32-bit) – Application identifier (see. App configuration)device_model (
str) – Device modelsystem_version (
str) – Operation system versionapp_version (
str) – Application versionsystem_lang_code (
str) – Code for the language used on the device’s OS, ISO 639-1 standardlang_pack (
str) – Language pack to uselang_code (
str) – Code for the language used on the client, ISO 639-1 standardquery (Any function from
functions) – The query itselfproxy (
InputClientProxy, optional) – Info about an MTProto proxyparams (
JSONValue, optional) – Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying timezone offset in seconds.
- Returns:
Any object from
types