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.157/client/0_types.ts";

Properties

id: number
api: Api
storage: Storage
messageStorage: Storage
guaranteeUpdateDelivery: boolean
setConnectionState: (connectionState: ConnectionState) => void
resetConnectionState: () => void
getSelfId: () => Promise<number>
getInputPeer: (id: ID) => Promise<enums.InputPeer>
getInputChannel: (id: ID) => Promise<types.InputChannel>
getInputUser: (id: ID) => Promise<types.InputUser>
getEntity: EntityGetter
handleUpdate: (update: Update) => void
parseMode: ParseMode
apiFactory: ApiFactory
ignoreOutgoing: boolean | null
cdn: boolean
optional
dropPendingUpdates: boolean