ChatFilter constructor

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

Represents a filter of user chats

Implementation

const ChatFilter({
  required this.title,
  required this.iconName,
  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,
});