Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>Config_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Config_
extends _Config_
import { Config_ } from "https://deno.land/x/mtkruto@0.1.141/tl/2_types.ts";

Constructors

new
Config_(params: { default_p2p_contacts?: true; preload_featured_stickers?: true; revoke_pm_inbox?: true; blocked_mode?: true; force_try_ipv6?: true; date: number; expires: number; test_mode: boolean; this_dc: number; dc_options: Array<enums.DcOption>; dc_txt_domain_name: string; chat_size_max: number; megagroup_size_max: number; forwarded_count_max: number; online_update_period_ms: number; offline_blur_timeout_ms: number; offline_idle_timeout_ms: number; online_cloud_timeout_ms: number; notify_cloud_delay_ms: number; notify_default_delay_ms: number; push_chat_period_ms: number; push_chat_limit: number; edit_time_limit: number; revoke_time_limit: number; revoke_pm_time_limit: number; rating_e_decay: number; stickers_recent_limit: number; channels_read_media_period: number; tmp_sessions?: number; call_receive_timeout_ms: number; call_ring_timeout_ms: number; call_connect_timeout_ms: number; call_packet_timeout_ms: number; me_url_prefix: string; autoupdate_url_prefix?: string; gif_search_username?: string; venue_search_username?: string; img_search_username?: string; static_maps_provider?: string; caption_length_max: number; message_length_max: number; webfile_dc_id: number; suggested_lang_code?: string; lang_pack_version?: number; base_lang_pack_version?: number; reactions_default?: enums.Reaction; autologin_token?: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
autologin_token: string
optional
autoupdate_url_prefix: string
optional
base_lang_pack_version: number
optional
blocked_mode: true
call_connect_timeout_ms: number
call_packet_timeout_ms: number
call_receive_timeout_ms: number
call_ring_timeout_ms: number
caption_length_max: number
channels_read_media_period: number
chat_size_max: number
date: number
dc_options: Array<enums.DcOption>
dc_txt_domain_name: string
optional
default_p2p_contacts: true
edit_time_limit: number
expires: number
optional
force_try_ipv6: true
forwarded_count_max: number
optional
gif_search_username: string
optional
img_search_username: string
optional
lang_pack_version: number
me_url_prefix: string
megagroup_size_max: number
message_length_max: number
notify_cloud_delay_ms: number
notify_default_delay_ms: number
offline_blur_timeout_ms: number
offline_idle_timeout_ms: number
online_cloud_timeout_ms: number
online_update_period_ms: number
push_chat_limit: number
push_chat_period_ms: number
rating_e_decay: number
optional
reactions_default: enums.Reaction
optional
revoke_pm_inbox: true
revoke_pm_time_limit: number
revoke_time_limit: number
optional
static_maps_provider: string
stickers_recent_limit: number
optional
suggested_lang_code: string
test_mode: boolean
this_dc: number
optional
tmp_sessions: number
optional
venue_search_username: string
webfile_dc_id: number

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc