import { ITelegramClient } from '../../client.types.js'; import { Message } from '../../types/messages/message.js'; import { InputPeerLike } from '../../types/peers/peer.js'; import { sendMediaGroup } from './send-media-group.js'; import { sendMedia } from './send-media.js'; import { sendText } from './send-text.js'; export type QuoteParamsFrom = Omit, 'quoteText' | 'quoteEntities'> & { /** * Destination chat ID, username, phone, `"me"` or `"self"` * * @default `message.chat` */ toChatId?: InputPeerLike; /** Index of the first character to quote (inclusive) */ start: number; /** Index of the last character to quote (exclusive) */ end: number; }; /** Send a text in reply to a given quote */ export declare function quoteWithText(client: ITelegramClient, message: Message, params: QuoteParamsFrom[3]> & { /** Text to send */ text: Parameters[2]; }): ReturnType; /** Send a media in reply to a given quote */ export declare function quoteWithMedia(client: ITelegramClient, message: Message, params: QuoteParamsFrom[3]> & { /** Media to send */ media: Parameters[2]; }): ReturnType; /** Send a media group in reply to a given quote */ export declare function quoteWithMediaGroup(client: ITelegramClient, message: Message, params: QuoteParamsFrom[3]> & { /** Media group to send */ medias: Parameters[2]; }): ReturnType;