1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:36:55 +01:00
MadelineProto/docs/TD_docs/methods/reportChat.md

24 lines
799 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +02:00
---
title: reportChat
description: 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](index.md)
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:
2017-08-25 15:05:53 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Chat identifier|
|reason|[CLICK ME ChatReportReason](../types/ChatReportReason.md) | Yes|Reason, the chat is reported|
2017-08-25 15:05:53 +02:00
### Return type: [Ok](../types/Ok.md)