diff options
author | JellyBrick <shlee1503@naver.com> | 2018-05-27 17:30:39 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-05-27 17:30:39 +0900 |
commit | 8206df62f7f9540a2f13ce31c85f8a1f2054bd56 (patch) | |
tree | f8fb5ec4990fcb426c21cfb0f038152ff1063184 /src/Api.cpp | |
parent | a1e7e4db6da26bb63c3befe818de5ef60fdd049b (diff) |
Fix build error (cross-reference)
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 568ca71..5b9c8e8 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -792,7 +792,7 @@ bool Api::setChatDescription(int64_t chatId, std::string description) const { bool Api::pinChatMessage(int64_t chatId, int32_t messageId, bool disableNotification) const { vector<HttpReqArg> args; args.push_back(HttpReqArg("chat_id", chatId)); - args.push_back(HttpReqArg("description", description)); + args.push_back(HttpReqArg("message_id", messageId)); if (disableNotification) { args.push_back(HttpReqArg("disable_notification", disableNotification)); } |