Sha256: 5e8afc36fbe892410e7c5539158809fd468fdc8102770d8c02befdd6c4a7055f

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 Bytes

Contents

module TD::Types
  # Represents result of checking whether a username can be set for a chat.
  class CheckChatUsernameResult < Base
    %w[
      ok
      username_invalid
      username_occupied
      public_chats_too_much
      public_groups_unavailable
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/check_chat_username_result/#{type}"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/check_chat_username_result.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/check_chat_username_result.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/check_chat_username_result.rb
tdlib-ruby-2.2.0 lib/tdlib/types/check_chat_username_result.rb
tdlib-ruby-2.1.0 lib/tdlib/types/check_chat_username_result.rb
tdlib-ruby-2.0.0 lib/tdlib/types/check_chat_username_result.rb