teleproto - v1.229.0
    Preparing search index...

    Interface InitConnectionParams

    interface InitConnectionParams {
        apiId: number;
        appVersion: string;
        deviceModel: string;
        langCode: string;
        langPack: string;
        params?: TypeJSONValueIn;
        proxy?: InputClientProxyIn;
        query: unknown;
        systemLangCode: string;
        systemVersion: string;
    }
    Index
    apiId: number

    Application identifier (see. App configuration )

    appVersion: string

    Application version

    deviceModel: string

    Device model

    langCode: string

    Either an ISO 639-1 language code or a language pack name obtained from a language pack link .

    langPack: string

    Platform identifier (i.e. android , tdesktop , etc).

    Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying the timezone offset in seconds.

    Info about an MTProto proxy

    query: unknown

    The query itself

    systemLangCode: string

    Code for the language used on the device's OS, ISO 639-1 standard

    systemVersion: string

    Operation system version