ChannelConfigWithInfo constructor
ChannelConfigWithInfo({
- List<
String> allowedFlagReasons = const [], - required ChannelConfigWithInfoAutomodEnum automod,
- required ChannelConfigWithInfoAutomodBehaviorEnum automodBehavior,
- Thresholds? automodThresholds,
- String? blocklist,
- ChannelConfigWithInfoBlocklistBehaviorEnum? blocklistBehavior,
- List<
BlockListOptions> blocklists = const [], - List<
Command> commands = const [], - required bool connectEvents,
- required DateTime createdAt,
- required bool customEvents,
- Map<
String, List< grants = const {},String> > - required bool markMessagesPending,
- required int maxMessageLength,
- required bool mutes,
- required String name,
- int? partitionSize,
- int? partitionTtl,
- required bool polls,
- required bool pushNotifications,
- required bool quotes,
- required bool reactions,
- required bool readEvents,
- required bool reminders,
- required bool replies,
- required bool search,
- required bool typingEvents,
- required DateTime updatedAt,
- required bool uploads,
- 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,
this.partitionSize,
this.partitionTtl,
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,
});