Telegram::PollAnswer
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: PollAnswer This object represents an answer of a user in a non-anonymous poll.
Constructors
new(poll_id : String, option_ids : Array(Int64), voter_chat : Chat | Nil = nil, user : User | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(poll_id _poll_id = @poll_id, option_ids _option_ids = @option_ids, voter_chat _voter_chat = @voter_chat, user _user = @user)
Sourceoption_ids
poll_id
user
voter_chat