TgKit library and website are still in early development!

PollAnswer Class

extends Base

Represents an answer of a user in a non-anonymous poll

Properties

client Client

See the code

id string

Unique poll identifier

See the code

optionIds

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

See the code

user User

Number of users that voted for this option

See the code