Chat constructor
- {required int id,
- required ChatType type,
- required String title,
- ChatPhotoInfo? photo,
- required ChatPermissions permissions,
- Message? last_message,
- required List<
ChatPosition> positions, - MessageSender? message_sender_id,
- BlockList? block_list,
- required bool has_protected_content,
- required bool is_translatable,
- required bool is_marked_as_unread,
- required bool has_scheduled_messages,
- required bool can_be_deleted_only_for_self,
- required bool can_be_deleted_for_all_users,
- required bool can_be_reported,
- required bool default_disable_notification,
- required int unread_count,
- required int last_read_inbox_message_id,
- required int last_read_outbox_message_id,
- required int unread_mention_count,
- required int unread_reaction_count,
- required ChatNotificationSettings notification_settings,
- required ChatAvailableReactions available_reactions,
- required int message_auto_delete_time,
- ChatBackground? background,
- required String theme_name,
- ChatActionBar? action_bar,
- required VideoChat video_chat,
- ChatJoinRequestsInfo? pending_join_requests,
- required int reply_markup_message_id,
- DraftMessage? draft_message,
- required String client_data,
- int? extra,
- int? clientId}
A chat. (Can be a private chat, basic group, supergroup, or secret chat)
Implementation
Chat