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 /include | |
parent | 85104c6a24a28d5a5eca05de4a5e59dd0059232d (diff) |
Fix build error
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/Api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index b10a87a..e926732 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -347,7 +347,7 @@ public: * @param disableNotification Optional. Sends the message silenty. * @return On success, the sent message is returned. */ - Message::Ptr sendVoice(int64_t chatId, InputFile::Ptr voice, const std::string& caption = "", int duration = 0, int32_t replyToMessageId = 0, + Message::Ptr sendVoice(int64_t chatId, boost::variant<InputFile::Ptr, std::string> voice, const std::string& caption = "", int duration = 0, int32_t replyToMessageId = 0, GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>(), const std::string& parseMode = "", bool disableNotification = false) const; /** |