ReportChatPhoto constructor

const ReportChatPhoto({
  1. required int chatId,
  2. required int fileId,
  3. required ReportReason reason,
  4. required String text,
})

Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported

Implementation

const ReportChatPhoto({
  required this.chatId,
  required this.fileId,
  required this.reason,
  required this.text,
});