diff options
author | asapelkin <kotofey93@gmail.com> | 2017-01-16 14:19:19 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 14:19:19 +0400 |
commit | 54525fb9e5cf0e84389f61be2a1de1f6bfc01716 (patch) | |
tree | 34e55855225290e7d6e0f86aab6c563eea1f1f5d /src/Api.cpp | |
parent | 798a7a60287012338b1b42b88e4c8d3fdc3c2eb0 (diff) |
Little typo
Little typo fixed. "sendVideo" instead "sendVoice".
Diffstat (limited to 'src/Api.cpp')
-rw-r--r-- | src/Api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Api.cpp b/src/Api.cpp index 361b4d6..55d61c2 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -332,7 +332,7 @@ Message::Ptr Api::sendVoice(int64_t chatId, const std::string& voiceId, const st if (disableNotification){ args.push_back(HttpReqArg("disable_notification", disableNotification)); } - return TgTypeParser::getInstance().parseJsonAndGetMessage(sendRequest("sendVideo", args)); + return TgTypeParser::getInstance().parseJsonAndGetMessage(sendRequest("sendVoice", args)); } Message::Ptr Api::sendLocation(int64_t chatId, float latitude, float longitude, int32_t replyToMessageId, const GenericReply::Ptr& replyMarkup, bool disableNotification) const { |