PollOption

@Serializable
data class PollOption(val title: String, val votesCount: Long? = null)

A possible choice of answer in a Poll.

Constructors

Link copied to clipboard
constructor(title: String, votesCount: Long? = null)

Properties

Link copied to clipboard

The label of the poll option.

Link copied to clipboard
val votesCount: Long? = null

The number of received votes for this option.