ChatReportReason
public indirect enum ChatReportReason : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes the reason why a chat is reported
-
The chat contains spam messages
Declaration
Swift
case spam
-
The chat promotes violence
Declaration
Swift
case violence
-
The chat contains pornographic messages
Declaration
Swift
case pornography
-
The chat has child abuse related content
Declaration
Swift
case childAbuse
-
The chat contains copyrighted content
Declaration
Swift
case copyright
-
The location-based chat is unrelated to its stated location
Declaration
Swift
case unrelatedLocation
-
A custom reason provided by the user
- text: Report text
Declaration
Swift
case custom(text: String)