PollAnswer

data class PollAnswer(poll_id: String, user: User, option_ids: List<Long>) : TelegramModel

This object represents an answer of a user in a non-anonymous poll.

Constructors

PollAnswer
Link copied to clipboard
fun PollAnswer(poll_id: String, user: User, option_ids: List<Long>)
Creates a PollAnswer.

Properties

option_ids
Link copied to clipboard
val option_ids: List<Long>
0-based identifiers of answer options, chosen by the user.
poll_id
Link copied to clipboard
val poll_id: String
Unique poll identifier
user
Link copied to clipboard
val user: User
The user, who changed the answer to the poll