GuildTextChannelCreateRequest constructor

const GuildTextChannelCreateRequest({
  1. required GuildTextChannelCreateRequestTypeType type,
  2. required String name,
  3. String? topic,
  4. String? url,
  5. SnowflakeType? parentId,
  6. int? bitrate,
  7. int? userLimit,
  8. int? voiceConnectionLimit,
  9. List<GuildTextChannelCreateRequestPermissionOverwrites>? permissionOverwrites,
  10. int? rateLimitPerUser,
  11. bool? nsfw,
  12. bool? nsfwOverride,
  13. ContentWarningLevel? contentWarningLevel,
  14. String? contentWarningText,
})

Implementation

const GuildTextChannelCreateRequest({
  required this.type,
  required this.name,
  this.topic,
  this.url,
  this.parentId,
  this.bitrate,
  this.userLimit,
  this.voiceConnectionLimit,
  this.permissionOverwrites,
  this.rateLimitPerUser,
  this.nsfw,
  this.nsfwOverride,
  this.contentWarningLevel,
  this.contentWarningText,
});