api.reportChat()
Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported
Parameters
ReportChatParams:chevron_leftchevron_right
Parameters
Interface
| Name | Type | Description |
|---|---|---|
chatId | number | Chat identifier |
messageIds | number[] | Identifiers of reported messages, if any |
reason | The reason for reporting the chat | |
text | string | Additional report details; 0-1024 characters |