Sha256: 9939437eb0d4976d2e28ec60bf6dc56e07de48fe01a73f7c30662b83f74a05b7

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class KeyboardButtonRequestUsers < Base
        attribute :request_id, Types::Integer
        attribute? :user_is_bot, Types::Bool
        attribute? :user_is_premium, Types::Bool
        attribute? :max_quantity, Types::Integer.default(1)
        attribute? :request_name, Types::Bool
        attribute? :request_username, Types::Bool
        attribute? :request_photo, Types::Bool
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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