Skip to main content
Module

x/mtkruto/mod.ts>ClientParams

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface ClientParams
implements ClientPlainParams
import { type ClientParams } from "https://deno.land/x/mtkruto@0.0.987/mod.ts";

Properties

optional
parseMode: ParseMode

Default parse mode. Defauls to ParseMode.None.

optional
appVersion: string

The app_version parameter to be passed to initConnection when calling authorize.

optional
deviceModel: string

The device_version parameter to be passed to initConnection when calling authorize.

optional
langCode: string

The lang_code parameter to be passed to initConnection when calling authorize.

optional
langPack: string

The lang_pack parameter to be passed to initConnection when calling authorize.

optional
systemLangCode: string

The system_lang_cde parameter to be passed to initConnection when calling authorize.

optional
systemVersion: string

The system_version parameter to be passed to initConnection when calling authorize.

optional
autoStart: boolean

Whether to automatically call start with no parameters in the first invoke call.