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

x/mtkruto/client/1_types.ts>C

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface C
import { type C } from "https://deno.land/x/mtkruto@0.2.50/client/1_types.ts";

Properties

id: number
messageStorage: StorageOperations
guaranteeUpdateDelivery: boolean
setConnectionState: (connectionState: ConnectionState) => void
resetConnectionState: () => void
getSelfId: () => Promise<number>
getInputPeer: (id: ID) => Promise<Api.InputPeer>
getInputChannel: (id: ID) => Promise<Api.inputChannel>
getInputUser: (id: ID) => Promise<Api.inputUser>
getEntity: EntityGetter
handleUpdate: (update: Update) => void
parseMode: ParseMode
getCdnConnection: GetCdnConnection
getCdnConnectionPool: GetCdnConnectionPool
ignoreOutgoing: boolean | null
cdn: boolean
optional
dropPendingUpdates: boolean
invoke: Invoke
disconnected: () => boolean