import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, InputText, Message, ReplyMarkup } from '../../types/index.js'; import { CommonSendParams } from './send-common.js'; export interface SendCopyParams extends CommonSendParams { /** Target chat ID */ toChatId: InputPeerLike; /** * New message caption (only used for media) */ caption?: InputText; /** * For bots: inline or reply markup or an instruction * to hide a reply keyboard or to force a reply. */ replyMarkup?: ReplyMarkup; } /** * Copy a message (i.e. send the same message, but do not forward it). * * Note that if the message contains a webpage, * it will be copied simply as a text message, * and if the message contains an invoice, * it can't be copied. */ export declare function sendCopy(client: ITelegramClient, params: SendCopyParams & ({ /** Source chat ID */ fromChatId: InputPeerLike; /** Message ID to forward */ message: number; } | { message: Message; })): Promise;