Sha256: d31a21e8058b73e0b77d72559c083c58ad0a0a78c2967825d4b33f0e3faa1f2c

Contents?: true

Size: 645 Bytes

Versions: 6

Compression:

Stored size: 645 Bytes

Contents

module Telegram
  module Bot
    module Types
      class Poll < Base
        attribute :id, String
        attribute :question, String
        attribute :options, Array[PollOption]
        attribute :total_voter_count, Integer
        attribute :is_closed, Boolean
        attribute :is_anonymous, Boolean
        attribute :type, String
        attribute :allows_multiple_answers, Boolean
        attribute :correct_option_id, Integer
        attribute :explanation, String
        attribute :explanation_entities, Array[MessageEntity]
        attribute :open_period, Integer
        attribute :close_date, Integer
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.18.0 lib/telegram/bot/types/poll.rb
telegram-bot-ruby-0.17.0 lib/telegram/bot/types/poll.rb
telegram-bot-ruby-0.16.0 lib/telegram/bot/types/poll.rb
telegram-bot-ruby-0.15.0 lib/telegram/bot/types/poll.rb
telegram-bot-ruby-0.14.0 lib/telegram/bot/types/poll.rb
telegram-bot-ruby-0.13.0 lib/telegram/bot/types/poll.rb