ChannelConfigWithInfo constructor

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

Returns a new ChannelConfigWithInfo instance.

Implementation

ChannelConfigWithInfo({
  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,
  this.grants = const {},
  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,
});