mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 09:27:20 +01:00
799 B
799 B
title | description |
---|---|
reportChat | Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators |
Method: reportChat
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators
Parameters:
Name | Type | Required | Description |
---|---|---|---|
chat_id | CLICK ME int53 | Yes | Chat identifier |
reason | CLICK ME ChatReportReason | Yes | Reason, the chat is reported |