Skip to main content
Module

x/mtkruto/client/0_storage_operations.ts>K

Cross-runtime JavaScript library for building Telegram clients
Latest
variable K
import { K } from "https://deno.land/x/mtkruto@0.2.30/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: (
userId: number,
chatId: number,
query: string,
offset: string,
) => StorageKeyPart[]; callbackQueryAnswers: () => StorageKeyPart[]; callbackQueryAnswer: (
chatId: number,
messageId: number,
question: string,
) => StorageKeyPart[]; fullChats: () => StorageKeyPart[]; fullChat: (chatId: number) => StorageKeyPart[]; groupCalls: () => StorageKeyPart[]; groupCall: (id: bigint) => StorageKeyPart[]; groupCallAccessHashes: () => StorageKeyPart[]; groupCallAccessHash: (id: bigint) => StorageKeyPart[]; }; 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[]; }; }