From d4ebf6dc65bc97cab3aa147a8bfe398338c618da Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 27 Jul 2018 17:44:07 +0900 Subject: Fix missing include --- include/tgbot/TgTypeParser.h | 3 +++ include/tgbot/types/InputMedia.h | 2 -- 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 #include -#include - 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 args; -- cgit v1.2.3