Sha256: 60acb7af79ef057f3f15d4367d36852087a74aa411c111132bed02fc29fd90aa

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class User < Base
        attribute :id, Types::Integer
        attribute :is_bot, Types::Bool
        attribute :first_name, Types::String
        attribute? :last_name, Types::String
        attribute? :username, Types::String
        attribute? :language_code, Types::String
        attribute? :is_premium, Types::True
        attribute? :added_to_attachment_menu, Types::True
        attribute? :can_join_groups, Types::Bool
        attribute? :can_read_all_group_messages, Types::Bool
        attribute? :supports_inline_queries, Types::Bool
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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