ChannelResponse constructor
ChannelResponse({
- bool? autoTranslationEnabled,
- String? autoTranslationLanguage,
- bool? blocked,
- required String cid,
- ChannelConfigWithInfo? config,
- int? cooldown,
- required DateTime createdAt,
- UserObject? createdBy,
- Map<
String, Object> custom = const {}, - DateTime? deletedAt,
- required bool disabled,
- required bool frozen,
- DateTime? hideMessagesBefore,
- required String id,
- DateTime? lastMessageAt,
- int? memberCount,
- List<
ChannelMember> members = const [], - DateTime? muteExpiresAt,
- bool? muted,
- List<
String> ownCapabilities = const [], - String? team,
- DateTime? truncatedAt,
- UserObject? truncatedBy,
- required String type,
- required DateTime updatedAt,
Returns a new ChannelResponse instance.
Implementation
ChannelResponse({
this.autoTranslationEnabled,
this.autoTranslationLanguage,
this.blocked,
required this.cid,
this.config,
this.cooldown,
required this.createdAt,
this.createdBy,
this.custom = const {},
this.deletedAt,
required this.disabled,
required this.frozen,
this.hidden,
this.hideMessagesBefore,
required this.id,
this.lastMessageAt,
this.memberCount,
this.members = const [],
this.muteExpiresAt,
this.muted,
this.ownCapabilities = const [],
this.team,
this.truncatedAt,
this.truncatedBy,
required this.type,
required this.updatedAt,
});