PollAnswer
telegramium.bots.PollAnswer
final case class PollAnswer(pollId: String, voterChat: Option[Chat], user: Option[User], optionIds: List[Int])
This object represents an answer of a user in a non-anonymous poll.
Value parameters
- optionIds
-
0-based identifiers of chosen answer options. May be empty if the vote was retracted.
- pollId
-
Unique poll identifier
- user
-
Optional. The user that changed the answer to the poll, if the voter isn't anonymous
- voterChat
-
Optional. The chat that changed the answer to the poll, if the voter is anonymous
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article