Sha256: f9bbbba4fc5c6b7fd2ddb8676e3d9b689694510a33ddbc5274e49699e3352987

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

module TD::Types
  # Describes the reason why a chat is reported.
  class ChatReportReason < Base
    %w[
      spam
      violence
      pornography
      child_abuse
      copyright
      unrelated_location
      fake
      custom
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/chat_report_reason/#{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/chat_report_reason.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/chat_report_reason.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/chat_report_reason.rb