ReportChat constructor

ReportChat(
  1. {int chatId,
  2. ChatReportReason reason,
  3. List<int> messageIds}
)

Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if this is a private chats with a bot, a private chat with a user sharing their location, a supergroup, or a channel, since other chats can't be checked by moderators

Implementation

ReportChat({this.chatId, this.reason, this.messageIds});