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
constructor(@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

Properties

Link copied to clipboard
val answers: List<PollAnswer>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val question: PollQuestion? = null