ForumPoll

data class ForumPoll(val id: Int, val question: String, val isClosed: Boolean = false, val options: List<ForumPollOption>)

Represents a poll in a forum topic.

Constructors

Link copied to clipboard
constructor(id: Int, question: String, isClosed: Boolean = false, options: List<ForumPollOption>)

Properties

Link copied to clipboard
val id: Int

The unique identifier for the poll.

Link copied to clipboard

Whether the poll is closed for voting.

Link copied to clipboard

The list of poll options.

Link copied to clipboard

The poll question.