ChannelProperties constructor

ChannelProperties({
  1. required Snowflake id,
  2. required ChannelType type,
  3. required String? name,
  4. required String? description,
  5. required Snowflake? serverId,
  6. required Snowflake? categoryId,
  7. required int? position,
  8. required bool nsfw,
  9. required Snowflake? lastMessageId,
  10. required int? bitrate,
  11. required int? userLimit,
  12. required int? rateLimitPerUser,
  13. required List<User> recipients,
  14. required String? icon,
  15. required String? ownerId,
  16. required String? applicationId,
  17. required String? lastPinTimestamp,
  18. required String? rtcRegion,
  19. required int? videoQualityMode,
  20. required int? messageCount,
  21. required int? memberCount,
  22. required int? defaultAutoArchiveDuration,
  23. required List<ChannelPermissionOverwrite>? permissions,
  24. required int? flags,
  25. required int? totalMessageSent,
  26. required dynamic available,
  27. required List<Snowflake> appliedTags,
  28. required dynamic defaultReactions,
  29. required int? defaultSortOrder,
  30. required int? defaultForumLayout,
  31. required ThreadsManager threads,
})

Implementation

ChannelProperties({
  required this.id,
  required this.type,
  required this.name,
  required this.description,
  required this.serverId,
  required this.categoryId,
  required this.position,
  required this.nsfw,
  required this.lastMessageId,
  required this.bitrate,
  required this.userLimit,
  required this.rateLimitPerUser,
  required this.recipients,
  required this.icon,
  required this.ownerId,
  required this.applicationId,
  required this.lastPinTimestamp,
  required this.rtcRegion,
  required this.videoQualityMode,
  required this.messageCount,
  required this.memberCount,
  required this.defaultAutoArchiveDuration,
  required this.permissions,
  required this.flags,
  required this.totalMessageSent,
  required this.available,
  required this.appliedTags,
  required this.defaultReactions,
  required this.defaultSortOrder,
  required this.defaultForumLayout,
  required this.threads,
});