1
0
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:
InsanusMokrassar 2020-01-23 22:15:08 +06:00
parent 1a258ae912
commit 7a880ba2bd

View File

@ -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)