import { UpdateManager } from "https://deno.land/x/mtkruto@0.6.2/client/2_update_manager.ts";
Constructors
new
UpdateManager(c: C)Methods
fetchState(source: string)
getHandleUpdateQueue(boxId: bigint)
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