Anonymous

@Serializable
data class Anonymous(val pollId: PollId, val voterChat: ChannelChat, val chosen: List<Int>) : PollAnswer

Constructors

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

Types

Link copied to clipboard
object Companion

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
Link copied to clipboard
@SerialName(value = "voter_chat")
val voterChat: ChannelChat