PollCreationInfo

@JsonClass(generateAdapter = true)
data class PollCreationInfo(    @Json(name = "question") val question: PollQuestion? = null,     @Json(name = "kind") val kind: PollType? = PollType.DISCLOSED_UNSTABLE,     @Json(name = "max_selections") val maxSelections: Int = 1,     @Json(name = "answers") val answers: List<PollAnswer>? = null)

Constructors

Link copied to clipboard
fun PollCreationInfo(    @Json(name = "question") question: PollQuestion? = null,     @Json(name = "kind") kind: PollType? = PollType.DISCLOSED_UNSTABLE,     @Json(name = "max_selections") maxSelections: Int = 1,     @Json(name = "answers") answers: List<PollAnswer>? = null)

Functions

Link copied to clipboard
fun isUndisclosed(): Boolean

Properties

Link copied to clipboard
val answers: List<PollAnswer>? = null
Link copied to clipboard
val kind: PollType?
Link copied to clipboard
val maxSelections: Int = 1
Link copied to clipboard
val question: PollQuestion? = null