ReportChat constructor

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

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

Implementation

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