Public

@Serializable
data class Public(val pollId: PollId, val user: User, val chosen: List<Int>) : PollAnswer

Constructors

Link copied to clipboard
constructor(pollId: PollId, user: User, chosen: List<Int>)

Properties

Link copied to clipboard
@SerialName(value = "option_ids")
open override val chosen: List<Int>
Link copied to clipboard
@Transient
open override val from: User

The source User of this type

Link copied to clipboard
@SerialName(value = "poll_id")
open override val pollId: PollId
Link copied to clipboard
@SerialName(value = "user")
open override val user: User