struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(poll_id _poll_id = @poll_id, option_ids _option_ids = @option_ids, voter_chat _voter_chat = @voter_chat, user _user = @user)
Source
option_ids
poll_id
user
voter_chat