import { UpdateManager } from "https://deno.land/x/mtkruto@0.2.50/client/2_update_manager.ts";
Constructors
new
UpdateManager(c: C)Methods
fetchState(source: string)
getHandleUpdateQueue(boxId: bigint)
processChats(chats: Api.Chat[])
processResult(result: ReadObject)
processUpdates()
updates: Api.Update | Api.Updates,
checkGap: boolean,
call?: Api.AnyObject | null,
callback?: () => void,
processUsers(users: Api.User[])
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