# Uses of Class it.tdlight.jni.TdApi.ChatReportReason (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: ChatReportReason

# Uses of Class
it.tdlight.jni.TdApi.ChatReportReason

## Uses of TdApi.ChatReportReason in it.tdlight.jni

Subclasses of TdApi.ChatReportReason in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.ChatReportReasonChildAbuse` | The chat has child abuse related content.
`static class` | `TdApi.ChatReportReasonCopyright` | The chat contains copyrighted content.
`static class` | `TdApi.ChatReportReasonCustom` | A custom reason provided by the user.
`static class` | `TdApi.ChatReportReasonFake` | The chat represents a fake account.
`static class` | `TdApi.ChatReportReasonPornography` | The chat contains pornographic messages.
`static class` | `TdApi.ChatReportReasonSpam` | The chat contains spam messages.
`static class` | `TdApi.ChatReportReasonUnrelatedLocation` | The location-based chat is unrelated to its stated location.
`static class` | `TdApi.ChatReportReasonViolence` | The chat promotes violence.

Fields in it.tdlight.jni declared as TdApi.ChatReportReason
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.ChatReportReason` | TdApi.ReportChat.`reason` | The reason for reporting the chat.
`TdApi.ChatReportReason` | TdApi.ReportChatPhoto.`reason` | The reason for reporting the chat photo.

Constructors in it.tdlight.jni with parameters of type TdApi.ChatReportReason
Constructor | Description
--- | ---
`ReportChat​(long chatId, long[] messageIds, TdApi.ChatReportReason reason, String text)` | Reports a chat to the Telegram moderators.
`ReportChatPhoto​(long chatId, int fileId, TdApi.ChatReportReason reason, String text)` | Reports a chat photo to the Telegram moderators.