diff options
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r-- | include/tgbot/Api.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::int64_t, const std::string&> chatId, const std::string& question, - const StringArrayPtr& options, + const std::vector<std::string>& options, bool disableNotification = false, std::int32_t replyToMessageId = 0, GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>(), @@ -1400,7 +1400,7 @@ public: * * @return Returns an Array of Sticker objects. */ - std::vector<Sticker::Ptr> getCustomEmojiStickers(const StringArrayPtr& customEmojiIds) const; + std::vector<Sticker::Ptr> getCustomEmojiStickers(const std::vector<std::string>& 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). |