import { ITelegramClient } from '../../client.types.js'; import { Message } from '../../types/messages/message.js'; import { InputPeerLike } from '../../types/peers/index.js'; import { CommonSendParams } from './send-common.js'; export interface SendCopyGroupParams extends CommonSendParams { /** Destination chat ID */ toChatId: InputPeerLike; } /** * Copy a message group (i.e. send the same message group, but do not forward it). * * Note that all the provided messages must be in the same message group */ export declare function sendCopyGroup(client: ITelegramClient, params: SendCopyGroupParams & ({ /** Source chat ID */ fromChatId: InputPeerLike; /** Message IDs to forward */ messages: number[]; } | { messages: Message[]; })): Promise;