summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJellyBrick <shlee1503@naver.com>2018-07-27 18:43:11 +0900
committerJellyBrick <shlee1503@naver.com>2018-07-27 18:43:11 +0900
commit6d1a96043c63f346b03df4c54d8200bc320ebe3e (patch)
tree17df84fbd12907fa3b668446eaebb5e0cd4b78d8 /include
parente6c475bd21df4dfd083d09ff0074758aec340e89 (diff)
Fix 'default argument missing'
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/Api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index 0966b29..84a6c9b 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -312,7 +312,7 @@ public:
* @param disableNotification Optional. Sends the message silenty.
* @return On success, the sent Message is returned.
*/
- Message::Ptr sendAnimation(int64_t chatId, const boost::variant<InputFile::Ptr, std::string> animation, int32_t duration = 0, int32_t width = 0, int32_t height = 0, const boost::variant<InputFile::Ptr, std::string> thumb, const std::string &caption = "",
+ Message::Ptr sendAnimation(int64_t chatId, const boost::variant<InputFile::Ptr, std::string> animation, int32_t duration = 0, int32_t width = 0, int32_t height = 0, const boost::variant<InputFile::Ptr, std::string> thumb = "", const std::string &caption = "",
int32_t replyToMessageId = 0, GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>(), const std::string& parseMode = "", bool disableNotification = false) const;
/**
* @brief Use this method to send video messages. On success, the sent Message is returned.