Channel constructor
Channel({
- required String id,
- required ChannelType type,
- String? guildId,
- int? position,
- List<
Overwrite> ? permissionOverwrites, - String? name,
- String? topic,
- bool? nsfw,
- String? lastMessageId,
- int? bitrate,
- int? userLimit,
- int? rateLimitPerUser,
- List<
User> ? recipients, - String? icon,
- String? ownerId,
- String? applicationId,
- String? parentId,
- String? lastPinTimestamp,
Implementation
Channel({
required this.id,
required this.type,
this.guildId,
this.position,
this.permissionOverwrites,
this.name,
this.topic,
this.nsfw,
this.lastMessageId,
this.bitrate,
this.userLimit,
this.rateLimitPerUser,
this.recipients,
this.icon,
this.ownerId,
this.applicationId,
this.parentId,
this.lastPinTimestamp,
});