Sha256: e9611f456ec7f9f6c6e445d4455c8b0471e39badbc0c33978d48278913d7b12c

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

module TD::Types
  # Represents the type of a 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-schema-1.7.0.3 lib/tdlib/types/user_type.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/user_type.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/user_type.rb