Skip to content

Commit

Permalink
fix: Poll's correcOptionId is optional, refs #67
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Jan 2, 2022
1 parent f2c25bd commit 6b9c9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telebot/private/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 6b9c9aa

Please sign in to comment.