Sha256: 17364e8b665206e83798e297d291284c6052be5c533ac02923c16ac6b5209ab2
Contents?: true
Size: 756 Bytes
Versions: 2
Compression:
Stored size: 756 Bytes
Contents
module TD::Types # Describes one answer option of a poll. # # @attr text [String] Option text, 1-100 characters. # @attr voter_count [Integer] Number of voters for this option, available only for closed or voted polls. # @attr vote_percentage [Integer] The percentage of votes for this option, 0-100. # @attr is_chosen [Boolean] True, if the option was chosen by the user. # @attr is_being_chosen [Boolean] True, if the option is being chosen by a pending setPollAnswer request. class PollOption < Base attribute :text, TD::Types::String attribute :voter_count, TD::Types::Integer attribute :vote_percentage, TD::Types::Integer attribute :is_chosen, TD::Types::Bool attribute :is_being_chosen, TD::Types::Bool end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.2.0 | lib/tdlib/types/poll_option.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/poll_option.rb |