From f9d24932cc960eeae32e049fc271fa6fa01327c3 Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Tue, 20 Sep 2022 17:50:12 +0200 Subject: Fix #230 --- include/tgbot/Api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tgbot/Api.h') diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index 693eb21..a87435c 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -656,7 +656,7 @@ public: */ Message::Ptr sendPoll(boost::variant chatId, const std::string& question, - const StringArrayPtr& options, + const std::vector& options, bool disableNotification = false, std::int32_t replyToMessageId = 0, GenericReply::Ptr replyMarkup = std::make_shared(), @@ -1400,7 +1400,7 @@ public: * * @return Returns an Array of Sticker objects. */ - std::vector getCustomEmojiStickers(const StringArrayPtr& customEmojiIds) const; + std::vector getCustomEmojiStickers(const std::vector& customEmojiIds) const; /** * @brief Use this method to upload a .PNG file with a sticker for later use in Api::createNewStickerSet and Api::addStickerToSet methods (can be used multiple times). -- cgit v1.2.3