import { UpdateManager } from "https://deno.land/x/mtkruto@0.6.3/client/2_update_manager.ts";
Methods
closeChat(chatId: ID)
fetchState(source: string)
getHandleUpdateQueue(boxId: bigint)
openChat(chatId: ID)
processChats(chats: Api.Chat[], context: ReadObject)
processResult(result: ReadObject)
processUpdates()
updates: Api.Update | Api.Updates,
checkGap: boolean,
call?: Api.AnyObject | null,
callback?: () => void,
processUsers(users: Api.User[], context: ReadObject)
recoverUpdateGap(source: string)
setUpdateHandler(handler: UpdateHandler)
Static Methods
isChannelPtsUpdate(v: Api.Update | Api.Updates): v is ChannelPtsUpdate
isPtsUpdate(v: Api.Update): v is PtsUpdate
isQtsUpdate(v: Api.Update): v is QtsUpdate