Sha256: 7c67f8fcff206b1c444707661458a6ef638f749caed7ec1c6678b7dc80e1d351
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
module TD::Types # Describes one answer option of a poll. # # @attr text [TD::Types::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::Coercible::Integer attribute :vote_percentage, TD::Types::Coercible::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-schema-1.7.0.3 | lib/tdlib/types/poll_option.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/poll_option.rb |