From 6b9c9aa5ed8da80740951b2120fc26a02235b916 Mon Sep 17 00:00:00 2001 From: Huy Doan Date: Sun, 2 Jan 2022 23:49:36 +0700 Subject: [PATCH] fix: Poll's correcOptionId is optional, refs #67 --- src/telebot/private/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telebot/private/types.nim b/src/telebot/private/types.nim index 69bb5ba..309dd89 100644 --- a/src/telebot/private/types.nim +++ b/src/telebot/private/types.nim @@ -197,7 +197,7 @@ type isAnonymous*: bool kind*: string allowsMultipleAnswers*: bool - correctOptionId*: int + correctOptionId*: Option[int] explanation*: Option[string] explanationEntities*: Option[seq[MessageEntity]] openPeriod*: Option[int]