ChannelBuilder class Null safety

Builder for creating mini channel instance



Builder for editing channel
ChannelBuilder.create({required String? name, required ChannelType? type})
Builder for creating channel


bitrate int?
The bitrate (in bits) of the voice channel (voice only)
read / write
defaultAutoArchiveDuration ThreadArchiveTime?
The default duration for newly created threads in the channel to automatically archive the thread after recent activity
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
Name of channel
read / write
nsfw bool?
Whether the channel is nsfw
read / write
overrides List<PermissionOverrideBuilder>?
The channel's permission overwrites
read / write
parentChannel SnowflakeEntity?
Id of the parent category for a channel
read / write
position int?
Sorting position of the channel
read / write
rateLimitPerUser int?
Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected
read / write
rtcRegion String?
Channel voice region id, automatic when set to null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
topic String?
Channel topic (0-1024 characters)
read / write
type ChannelType?
Type of channel
read / write
userLimit int?
The user limit of the voice channel (voice only)
read / write


build() RawApiMap
Returns built response for api
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]