diff options
author | JellyBrick <shlee1503@naver.com> | 2018-07-27 17:44:07 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-07-27 17:44:07 +0900 |
commit | d4ebf6dc65bc97cab3aa147a8bfe398338c618da (patch) | |
tree | 5d54bbd3f1896fb664a5e38827b91dacbeeae247 | |
parent | 941c97706cb5b81d5a2e44a827e8f6bf76a2c6bd (diff) |
Fix missing include
-rw-r--r-- | include/tgbot/TgTypeParser.h | 3 | ||||
-rw-r--r-- | include/tgbot/types/InputMedia.h | 2 | ||||
-rw-r--r-- | src/Api.cpp | 2 |
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; |