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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product