import { K } from "https://deno.land/x/mtkruto@0.6.2/client/0_storage_operations.ts";
type
{ connection: { P: (string: string) => string; apiId: () => StorageKeyPart[]; }; session: { P: (string: string) => string; serverSalt: () => StorageKeyPart[]; }; auth: { P: (string: string) => string; dc: () => StorageKeyPart[]; key: () => StorageKeyPart[]; accountId: () => StorageKeyPart[]; accountType: () => StorageKeyPart[]; }; updates: { P: (string: string) => string; state: () => StorageKeyPart[]; all: () => StorageKeyPart[]; updates: (boxId: bigint) => StorageKeyPart[]; update: (boxId: bigint, id: bigint) => StorageKeyPart[]; channelPts: (channelId: bigint) => StorageKeyPart[]; }; cache: { P: (string: string) => string; usernames: () => StorageKeyPart[]; username: (v: string) => StorageKeyPart[]; peers: () => StorageKeyPart[]; peer: (id: number) => StorageKeyPart[]; stickerSetNames: () => StorageKeyPart[]; stickerSetName: (id: bigint, accessHash: bigint) => StorageKeyPart[]; files: () => StorageKeyPart[]; file: (fileId: bigint) => StorageKeyPart[]; fileParts: () => StorageKeyPart[]; filePart: (fileId: bigint, n: number) => StorageKeyPart[]; customEmojiDocuments: () => StorageKeyPart[]; customEmojiDocument: (id: bigint) => StorageKeyPart[]; businessConnections: () => StorageKeyPart[]; businessConnection: (id: string) => StorageKeyPart[]; inlineQueryAnswers: () => StorageKeyPart[]; inlineQueryAnswer: () => StorageKeyPart[]; callbackQueryAnswers: () => StorageKeyPart[]; callbackQueryAnswer: () => StorageKeyPart[]; fullChats: () => StorageKeyPart[]; fullChat: (chatId: number) => StorageKeyPart[]; groupCalls: () => StorageKeyPart[]; groupCall: (id: bigint) => StorageKeyPart[]; groupCallAccessHashes: () => StorageKeyPart[]; groupCallAccessHash: (id: bigint) => StorageKeyPart[]; minPeerReferences: () => StorageKeyPart[]; minPeerReference: (senderId: number, chatId: number) => unknown; minPeerReferenceSender: (senderId: number) => unknown; }; messages: { P: (string: string) => string; messages: (chatId: number) => StorageKeyPart[]; message: (chatId: number, messageId: number) => StorageKeyPart[]; allMessageRefs: () => StorageKeyPart[]; messageRef: (messageId: number) => StorageKeyPart[]; }; chatlists: { P: (string: string) => string; hasAllChats: (listId: number) => StorageKeyPart[]; chats: (listId: number) => StorageKeyPart[]; chat: (listId: number, chatId: number) => StorageKeyPart[]; pinnedChats: (listId: number) => StorageKeyPart[]; }; }
userId: number,
chatId: number,
query: string,
offset: string,
chatId: number,
messageId: number,
question: string,