Sha256: dd320dbc2beb5e5e2276684c786447cffb52b1ffbe001f37bc57cfe0e740b7d8

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 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 :is_premium, Boolean
        attribute :added_to_attachment_menu, Boolean
        attribute :can_join_groups, Boolean
        attribute :can_read_all_group_messages, Boolean
        attribute :supports_inline_queries, Boolean
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.23.0 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.22.0 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot/types/user.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot/types/user.rb