• Send a media in reply to a given message

    Parameters

    • client: ITelegramClient
    • message: Message
    • ...params: [
          media: string
          | InputMediaLike,
          params?: CommonSendParams & {
              caption?: InputText;
              invert?: boolean;
              progressCallback?: (uploaded: number, total: number) => void;
              replyMarkup?: ReplyMarkup;
          },
      ]

    Returns ReturnType<typeof sendMedia>