ChatFolder constructor

const ChatFolder({
  1. required String title,
  2. ChatFolderIcon? icon,
  3. required bool isShareable,
  4. required List<int> pinnedChatIds,
  5. required List<int> includedChatIds,
  6. required List<int> excludedChatIds,
  7. required bool excludeMuted,
  8. required bool excludeRead,
  9. required bool excludeArchived,
  10. required bool includeContacts,
  11. required bool includeNonContacts,
  12. required bool includeBots,
  13. required bool includeGroups,
  14. required bool includeChannels,
  15. dynamic extra,
  16. int? clientId,
})

Represents a folder for user chats

Implementation

const ChatFolder({
  required this.title,
  this.icon,
  required this.isShareable,
  required this.pinnedChatIds,
  required this.includedChatIds,
  required this.excludedChatIds,
  required this.excludeMuted,
  required this.excludeRead,
  required this.excludeArchived,
  required this.includeContacts,
  required this.includeNonContacts,
  required this.includeBots,
  required this.includeGroups,
  required this.includeChannels,
  this.extra,
  this.clientId,
});