From 9966efd8a5e006f5ba548c34ae3072000a150193 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 27 Jul 2018 18:14:23 +0900 Subject: Fix build error --- src/Api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Api.cpp') diff --git a/src/Api.cpp b/src/Api.cpp index 0e82ab1..14f4ec1 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -816,7 +816,7 @@ Message::Ptr editMessageMedia(InputMedia::Ptr media, int64_t chatId, int32_t mes if (replyMarkup) { args.emplace_back("reply_markup", _tgTypeParser.parseGenericReply(replyMarkup)); } - ptree p = sendRequest("editMessageCaption", args); + ptree p = sendRequest("editMessageMedia", args); if (p.get_child_optional("message_id")) { return _tgTypeParser.parseJsonAndGetMessage(p); } else { -- cgit v1.2.3