PollAnswer

fun PollAnswer(pollId: String, user: User, optionIds: List<Int> = emptyList())

Parameters

pollId

Unique poll identifier

user

The user, who changed the answer to the poll

optionIds

0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.