import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, Message } from '../../types/index.js'; export interface DeleteMessagesParams { /** * Whether to "revoke" (i.e. delete for both sides). * Only used for chats and private chats. * * @default true */ revoke?: boolean; /** * Whether to dispatch updates that will be generated by this call. * Doesn't follow `disableNoDispatch` */ shouldDispatch?: true; } /** * Delete messages by their IDs * * @param chatId Chat's marked ID, its username, phone or `"me"` or `"self"`. * @param ids Message(s) ID(s) to delete. */ export declare function deleteMessagesById(client: ITelegramClient, chatId: InputPeerLike, ids: number[], params?: DeleteMessagesParams): Promise; /** * Delete one or more {@link Message} * * @param messages Message(s) to delete */ export declare function deleteMessages(client: ITelegramClient, messages: Message[], params?: DeleteMessagesParams): Promise;