reportChat
Report a chat. USER-ONLY
Parameters
The identifier of a chat to report.
The reason of the report.
text?: string
The text of the report.
Result
void
Syntax
// Required parameters only.
await client.reportChat(chatId, reason);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.reportChat(chatId, reason, { text });