ReportChat constructor

ReportChat(
  1. {required int chat_id,
  2. required List<int> message_ids,
  3. required ReportReason reason,
  4. required String text,
  5. int? extra,
  6. int? clientId}
)

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

Returns Ok

Implementation

ReportChat