import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike } from '../../types/index.js'; /** * Mark chat history as read. * * @param chatId Chat ID */ export declare function readHistory(client: ITelegramClient, chatId: InputPeerLike, params?: { /** * Message up until which to read history * * @default 0, i.e. read everything */ maxId?: number; /** * Whether to also clear all mentions in the chat */ clearMentions?: boolean; /** * Whether to dispatch updates that will be generated by this call. * Doesn't follow `disableNoDispatch` */ shouldDispatch?: true; }): Promise;