import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike } from '../../types/index.js'; /** * Delete all messages of a user (or channel) in a supergroup */ export declare function deleteUserHistory(client: ITelegramClient, params: { /** Chat ID */ chatId: InputPeerLike; /** User/channel ID whose messages to delete */ participantId: InputPeerLike; /** * Whether to dispatch the updates that will be generated by this call. * Doesn't follow `disableNoDispatch` */ shouldDispatch?: true; }): Promise;