ChannelResponse constructor
const
ChannelResponse({
- required String id,
- required int type,
- SnowflakeType? guildId,
- String? name,
- String? topic,
- String? url,
- String? icon,
- SnowflakeType? ownerId,
- Int32Type? position,
- SnowflakeType? parentId,
- Int32Type? bitrate,
- Int32Type? userLimit,
- String? rtcRegion,
- SnowflakeType? lastMessageId,
- DateTime? lastPinTimestamp,
- List<
ChannelOverwriteResponse> ? permissionOverwrites, - List<
UserPartialResponse> ? recipients, - bool? nsfw,
- bool? nsfwOverride,
- ContentWarningLevel? contentWarningLevel,
- String? contentWarningText,
- Int32Type? rateLimitPerUser,
- 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,
});