ChannelResponse constructor

const ChannelResponse({
  1. required String id,
  2. required int type,
  3. SnowflakeType? guildId,
  4. String? name,
  5. String? topic,
  6. String? url,
  7. String? icon,
  8. SnowflakeType? ownerId,
  9. Int32Type? position,
  10. SnowflakeType? parentId,
  11. Int32Type? bitrate,
  12. Int32Type? userLimit,
  13. String? rtcRegion,
  14. SnowflakeType? lastMessageId,
  15. DateTime? lastPinTimestamp,
  16. List<ChannelOverwriteResponse>? permissionOverwrites,
  17. List<UserPartialResponse>? recipients,
  18. bool? nsfw,
  19. bool? nsfwOverride,
  20. ContentWarningLevel? contentWarningLevel,
  21. String? contentWarningText,
  22. Int32Type? rateLimitPerUser,
  23. Map<String, String>? nicks,
})

Implementation

const ChannelResponse({
  required this.id,
  required this.type,
  this.guildId,
  this.name,
  this.topic,
  this.url,
  this.icon,
  this.ownerId,
  this.position,
  this.parentId,
  this.bitrate,
  this.userLimit,
  this.rtcRegion,
  this.lastMessageId,
  this.lastPinTimestamp,
  this.permissionOverwrites,
  this.recipients,
  this.nsfw,
  this.nsfwOverride,
  this.contentWarningLevel,
  this.contentWarningText,
  this.rateLimitPerUser,
  this.nicks,
});