1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 22:06:56 +01:00
MadelineProto/docs/TD_docs/methods/reportChat.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

777 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

Back to methods index

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

Params:

Name Type Required Description
chat_id int53 Yes Chat identifier
reason ChatReportReason Yes Reason, the chat is reported

Return type: Ok