diff options
author | JellyBrick <shlee1503@naver.com> | 2018-07-27 18:14:23 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-07-27 18:14:23 +0900 |
commit | 9966efd8a5e006f5ba548c34ae3072000a150193 (patch) | |
tree | 09b60bd98101b901be4fa003ff20cb635ad1e7ba /src/Api.cpp | |
parent | 85104c6a24a28d5a5eca05de4a5e59dd0059232d (diff) |
Fix build error
Diffstat (limited to 'src/Api.cpp')
-rw-r--r-- | src/Api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |