From 46e2feabcdd8ed01c6291526373124ce8d01a295 Mon Sep 17 00:00:00 2001 From: YJBeetle Date: Tue, 12 Nov 2019 20:59:24 +0800 Subject: update api and fix https://core.telegram.org/bots/api#deletestickerfromset --- include/tgbot/Api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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). -- cgit v1.2.3