import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike } from '../../types/index.js'; /** * Unpin all pinned messages in a chat. * * @param chatId Chat or user ID */ export declare function unpinAllMessages(client: ITelegramClient, chatId: InputPeerLike, params?: { /** * For forums - unpin only messages from the given topic */ topicId?: number; /** * Whether to dispatch updates that will be generated by this call. * Doesn't follow `disableNoDispatch` */ shouldDispatch?: true; }): Promise;