ChannelConfig constructor

ChannelConfig({
  1. List<String> allowedFlagReasons = const [],
  2. required ChannelConfigAutomodEnum automod,
  3. required ChannelConfigAutomodBehaviorEnum automodBehavior,
  4. Thresholds? automodThresholds,
  5. String? blocklist,
  6. ChannelConfigBlocklistBehaviorEnum? blocklistBehavior,
  7. List<BlockListOptions> blocklists = const [],
  8. List<String> commands = const [],
  9. required bool connectEvents,
  10. required DateTime createdAt,
  11. required bool customEvents,
  12. required bool markMessagesPending,
  13. required int maxMessageLength,
  14. required bool mutes,
  15. required String name,
  16. required bool polls,
  17. required bool pushNotifications,
  18. required bool quotes,
  19. required bool reactions,
  20. required bool readEvents,
  21. required bool reminders,
  22. required bool replies,
  23. required bool search,
  24. required bool typingEvents,
  25. required DateTime updatedAt,
  26. required bool uploads,
  27. required bool urlEnrichment,
})

Returns a new ChannelConfig instance.

Implementation

ChannelConfig({
  this.allowedFlagReasons = const [],
  required this.automod,
  required this.automodBehavior,
  this.automodThresholds,
  this.blocklist,
  this.blocklistBehavior,
  this.blocklists = const [],
  this.commands = const [],
  required this.connectEvents,
  required this.createdAt,
  required this.customEvents,
  required this.markMessagesPending,
  required this.maxMessageLength,
  required this.mutes,
  required this.name,
  required this.polls,
  required this.pushNotifications,
  required this.quotes,
  required this.reactions,
  required this.readEvents,
  required this.reminders,
  required this.replies,
  required this.search,
  required this.typingEvents,
  required this.updatedAt,
  required this.uploads,
  required this.urlEnrichment,
});