Chat constructor

Chat({
  1. String? extra,
  2. int? client_id,
  3. int53? id,
  4. ChatType? type,
  5. string? title,
  6. ChatPhotoInfo? photo,
  7. ChatPermissions? permissions,
  8. Message? last_message,
  9. vector<ChatPosition>? positions,
  10. MessageSender? message_sender_id,
  11. Bool? has_protected_content,
  12. Bool? is_marked_as_unread,
  13. Bool? is_blocked,
  14. Bool? has_scheduled_messages,
  15. Bool? can_be_deleted_only_for_self,
  16. Bool? can_be_deleted_for_all_users,
  17. Bool? can_be_reported,
  18. Bool? default_disable_notification,
  19. int32? unread_count,
  20. int53? last_read_inbox_message_id,
  21. int53? last_read_outbox_message_id,
  22. int32? unread_mention_count,
  23. int32? unread_reaction_count,
  24. ChatNotificationSettings? notification_settings,
  25. ChatAvailableReactions? available_reactions,
  26. int32? message_auto_delete_time,
  27. string? theme_name,
  28. ChatActionBar? action_bar,
  29. VideoChat? video_chat,
  30. ChatJoinRequestsInfo? pending_join_requests,
  31. int53? reply_markup_message_id,
  32. DraftMessage? draft_message,
  33. string? client_data,
})

Implementation

Chat({
  super.extra,
  super.client_id,
  this.id,
  this.type,
  this.title,
  this.photo,
  this.permissions,
  this.last_message,
  this.positions,
  this.message_sender_id,
  this.has_protected_content,
  this.is_marked_as_unread,
  this.is_blocked,
  this.has_scheduled_messages,
  this.can_be_deleted_only_for_self,
  this.can_be_deleted_for_all_users,
  this.can_be_reported,
  this.default_disable_notification,
  this.unread_count,
  this.last_read_inbox_message_id,
  this.last_read_outbox_message_id,
  this.unread_mention_count,
  this.unread_reaction_count,
  this.notification_settings,
  this.available_reactions,
  this.message_auto_delete_time,
  this.theme_name,
  this.action_bar,
  this.video_chat,
  this.pending_join_requests,
  this.reply_markup_message_id,
  this.draft_message,
  this.client_data,
});