ReportChat constructor

const ReportChat({
  1. required int chatId,
  2. required List<int> messageIds,
  3. required ChatReportReason reason,
  4. required String text,
})

Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported

Implementation

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