mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 09:07:12 +00:00
QuizPoll#correctOptionId now is nullable
This commit is contained in:
parent
43ef7656d0
commit
f4a731940e
@ -60,8 +60,11 @@ data class QuizPoll(
|
||||
override val options: List<PollOption>,
|
||||
@SerialName(totalVoterCountField)
|
||||
override val votesCount: Int,
|
||||
/**
|
||||
* Nullable due to documentation (https://core.telegram.org/bots/api#poll)
|
||||
*/
|
||||
@SerialName(correctOptionIdField)
|
||||
val correctOptionId: Int,
|
||||
val correctOptionId: Int? = null,
|
||||
@SerialName(isClosedField)
|
||||
override val isClosed: Boolean = false,
|
||||
@SerialName(isAnonymousField)
|
||||
|
Loading…
Reference in New Issue
Block a user