ReportChat constructor
const
ReportChat({
- required int chatId,
- required List<
int> messageIds, - required ReportReason reason,
- 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,
});