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

x/mtkruto/client/0_client_abstract.ts>ClientAbstract

Cross-runtime JavaScript library for building Telegram clients
Latest
class ClientAbstract
Abstract
import { ClientAbstract } from "https://deno.land/x/mtkruto@0.6.3/client/0_client_abstract.ts";

Constructors

new
ClientAbstract(params?: ClientAbstractParams)

Properties

protected
optional
transport: ReturnType<TransportProvider>
readonly
cdn: boolean
readonly
connected: boolean
readonly
dc: DC
readonly
dcId: number
readonly
disconnected: boolean
readonly
initialDc: DC
optional
stateChangeHandler: (connected: boolean) => void
transportProvider: TransportProvider