Sha256: 747556dc322998ba70ad6f9dab5e4f74ffe56f25e5b83b1df3985ece022dffc1

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class PollAnswer < Base
        attribute :poll_id, Types::String
        attribute? :voter_chat, Chat
        attribute? :user, User
        attribute :option_ids, Types::Array.of(Types::Integer)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/poll_answer.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/poll_answer.rb