summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYJBeetle <yjbeetle@gmail.com>2019-11-12 20:59:24 +0800
committerYJBeetle <yjbeetle@gmail.com>2019-11-12 20:59:24 +0800
commit46e2feabcdd8ed01c6291526373124ce8d01a295 (patch)
tree0b6550cf960e8bf23614a78f9140ad02805df5b0 /include
parentf239eef1eb7e7145bf8eddbeb7e496f266101723 (diff)
update api and fix
https://core.telegram.org/bots/api#deletestickerfromset
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 84a6c9b..51c28e7 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -273,7 +273,7 @@ public:
* @param stickers File identifier of the sticker.
* @return Returns True on success.
*/
- bool deleteStickerPositionInSet(const std::string& sticker) const;
+ bool deleteStickerFromSet(const std::string& sticker) const;
/**
* @brief Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document).