mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
UnknownPollType now can be created only inside of library
This commit is contained in:
parent
1a258ae912
commit
7a880ba2bd
@ -16,7 +16,7 @@ sealed class Poll {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class UnknownPollType(
|
data class UnknownPollType internal constructor(
|
||||||
@SerialName(idField)
|
@SerialName(idField)
|
||||||
override val id: PollIdentifier,
|
override val id: PollIdentifier,
|
||||||
@SerialName(questionField)
|
@SerialName(questionField)
|
||||||
|
Loading…
Reference in New Issue
Block a user