Tourmaline::PollAnswer
Inherits JSON::Serializable / Reference / Object
This object represents an answer of a user in a non-anonymous poll.
Constructors
new(poll_id : String, user : Tourmaline::User, option_ids : Array(Int32 | Int64) = [] of Int32 | Int64)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
option_ids
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.
0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.