Sha256: 4e6f56464662ecab0128308bcfd8a1c0c9f57f9444b36be7b05a5fa95ce6e4a1
Contents?: true
Size: 756 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/poll_option.rb |