summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tgbot/TgTypeParser.h3
-rw-r--r--include/tgbot/types/InputMedia.h2
-rw-r--r--src/Api.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h
index 656007b..06e7890 100644
--- a/include/tgbot/TgTypeParser.h
+++ b/include/tgbot/TgTypeParser.h
@@ -99,6 +99,9 @@
#include "tgbot/types/InputMedia.h"
#include "tgbot/types/InputMediaPhoto.h"
#include "tgbot/types/InputMediaVideo.h"
+#include "tgbot/types/InputMediaAudio.h"
+#include "tgbot/types/InputMediaDocument.h"
+#include "tgbot/types/InputMediaAnimation.h"
namespace TgBot {
diff --git a/include/tgbot/types/InputMedia.h b/include/tgbot/types/InputMedia.h
index c8cd4ae..f9e37ff 100644
--- a/include/tgbot/types/InputMedia.h
+++ b/include/tgbot/types/InputMedia.h
@@ -28,8 +28,6 @@
#include <memory>
#include <string>
-#include <boost/variant.hpp>
-
namespace TgBot {
/**
diff --git a/src/Api.cpp b/src/Api.cpp
index bd141d7..d5a2488 100644
--- a/src/Api.cpp
+++ b/src/Api.cpp
@@ -962,7 +962,7 @@ Message::Ptr Api::editMessageReplyMarkup(int64_t chatId, int32_t messageId, cons
}
}
-Message::Ptr Message::Ptr editMessageMedia(InputMedia::Ptr media, int64_t chatId, int32_t messageId, const std::string& inlineMessageId,
+Message::Ptr editMessageMedia(InputMedia::Ptr media, int64_t chatId, int32_t messageId, const std::string& inlineMessageId,
GenericReply::Ptr replyMarkup) const {
vector<HttpReqArg> args;