Chat constructor
Chat({
- String? extra,
- int? client_id,
- int53? id,
- ChatType? type,
- string? title,
- ChatPhotoInfo? photo,
- ChatPermissions? permissions,
- Message? last_message,
- vector<
ChatPosition> ? positions, - MessageSender? message_sender_id,
- Bool? has_protected_content,
- Bool? is_marked_as_unread,
- Bool? is_blocked,
- Bool? has_scheduled_messages,
- Bool? can_be_deleted_only_for_self,
- Bool? can_be_deleted_for_all_users,
- Bool? can_be_reported,
- Bool? default_disable_notification,
- int32? unread_count,
- int53? last_read_inbox_message_id,
- int53? last_read_outbox_message_id,
- int32? unread_mention_count,
- int32? unread_reaction_count,
- ChatNotificationSettings? notification_settings,
- ChatAvailableReactions? available_reactions,
- int32? message_auto_delete_time,
- string? theme_name,
- ChatActionBar? action_bar,
- VideoChat? video_chat,
- ChatJoinRequestsInfo? pending_join_requests,
- int53? reply_markup_message_id,
- DraftMessage? draft_message,
- 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,
});