diff options
Diffstat (limited to 'src')
-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 { |