PollType

@JsonClass(generateAdapter = false)
enum PollType : Enum<PollType>

Entries

Link copied to clipboard
@Json(name = "org.matrix.msc3381.poll.disclosed")
DISCLOSED_UNSTABLE

Voters should see results as soon as they have voted.

Link copied to clipboard
@Json(name = "m.poll.disclosed")
DISCLOSED
Link copied to clipboard
@Json(name = "org.matrix.msc3381.poll.undisclosed")
UNDISCLOSED_UNSTABLE

Results should be only revealed when the poll is ended.

Link copied to clipboard
@Json(name = "m.poll.undisclosed")
UNDISCLOSED

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int