• Send a media in reply to a given quote

    Parameters

    • client: ITelegramClient
    • message: Message
    • params: Omit<
          CommonSendParams & {
              caption?: InputText;
              invert?: boolean;
              progressCallback?: (uploaded: number, total: number) => void;
              replyMarkup?: ReplyMarkup;
          },
          "quoteText"
          | "quoteEntities",
      > & { end: number; start: number; toChatId?: InputPeerLike } & {
          media: string | InputMediaLike;
      }
      • end: number

        Index of the last character to quote (exclusive)

      • start: number

        Index of the first character to quote (inclusive)

      • OptionaltoChatId?: InputPeerLike

        Destination chat ID, username, phone, "me" or "self"

        message.chat

    Returns ReturnType<typeof sendMedia>