ChannelBuilder class

Builder for creating mini channel instance

Inheritance

Constructors

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

Properties

bitrate int?
The bitrate (in bits) of the voice channel (voice only)
getter/setter pair
defaultAutoArchiveDuration ThreadArchiveTime?
The default duration for newly created threads in the channel to automatically archive the thread after recent activity
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Name of channel
getter/setter pair
nsfw bool?
Whether the channel is nsfw
getter/setter pair
overrides List<PermissionOverrideBuilder>?
The channel's permission overwrites
getter/setter pair
parentChannel SnowflakeEntity?
Id of the parent category for a channel
getter/setter pair
position int?
Sorting position of the channel
getter/setter pair
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
getter/setter pair
rtcRegion String?
Channel voice region id, automatic when set to null
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String?
Channel topic (0-1024 characters)
getter/setter pair
type ChannelType?
Type of channel
getter/setter pair
userLimit int?
The user limit of the voice channel (voice only)
getter/setter pair

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited