report_chat


Description:

public async ReportChatResult report_chat (int64 chat_id, Bytes option_id, ArrayList<int64?> message_ids, string text) throws TDLibError

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:

chat_id

Chat identifier

option_id

Option identifier chosen by the user; leave empty for the initial request

message_ids

Identifiers of reported messages. Use messageProperties.can_report_chat to check whether the message can be reported

text

Additional report details if asked by the server; 0-1024 characters; leave empty for the initial request