Sha256: b056eb0cf7c1033d14ec29c653586d000c548adf8a14ab8361b31865afba9aed

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

module TD::Types
  # Represents the type of the user.
  # The following types are possible: regular users, deleted users and bots.
  class UserType < Base
    %w[
      regular
      deleted
      bot
      unknown
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/user_type/#{type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/user_type.rb
tdlib-ruby-2.1.0 lib/tdlib/types/user_type.rb
tdlib-ruby-2.0.0 lib/tdlib/types/user_type.rb