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

x/mtkruto/client/0_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.1.141/client/0_types.ts";

Properties

api: Api
storage: Storage
guaranteeUpdateDelivery: boolean
setConnectionState: (connectionState: ConnectionState) => void
resetConnectionState: () => void
getSelfId: () => Promise<number>
getInputPeer: (id: ID) => Promise<types.InputPeerChat | types.InputPeerUser | types.InputPeerChannel>
getEntity: EntityGetter
handleUpdate: (update: Update) => void
parseMode: ParseMode
apiFactory: ApiFactory