Sha256: f3e3d24514b4c0377b024599e6dd73596a2f206347f2848de1e4737aa0cf20ac

Contents?: true

Size: 499 Bytes

Versions: 7

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class User < Base
        attribute :id, Integer
        attribute :is_bot, Boolean
        attribute :first_name, String
        attribute :last_name, String
        attribute :username, String
        attribute :language_code, String
        attribute :can_join_groups, Boolean
        attribute :can_read_all_group_messages, Boolean
        attribute :supports_inline_queries, Boolean
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
telegram-bot-ruby-0.20.0 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.19.2 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.19.1 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.19.0 lib/telegram/bot/types/user.rb
telegram-bot-types-0.7.0 lib/telegram/bot/types/user.rb
telegram-bot-types-0.6.3 lib/telegram/bot/types/user.rb
telegram-bot-types-0.6.2 lib/telegram/bot/types/user.rb