From d9615bbe41c830eb3941e3f6235d47b6a46e584d Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Wed, 5 Oct 2022 11:35:04 +0200 Subject: sendPoll: update default value (#234) --- include/tgbot/Api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tgbot') diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index a87435c..c811730 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -663,7 +663,7 @@ public: bool isAnonymous = true, const std::string& type = "", bool allowsMultipleAnswers = false, - std::int32_t correctOptionId = 0, + std::int32_t correctOptionId = -1, const std::string& explanation = "", const std::string& explanationParseMode = "", const std::vector& explanationEntities = std::vector(), -- cgit v1.2.3