ChannelBuilder class final

Implemented types

Constructors

ChannelBuilder(ChannelType? _type)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPermissionOverwrite(ChannelPermissionOverwrite value) → void
override
build() Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBitrate(int value) → void
override
setDefaultAutoArchiveDuration(Duration value) → void
override
setDefaultForumLayout(int value) → void
override
setDefaultReactionEmoji(PartialEmoji value) → void
override
setDefaultSortOrder(int value) → void
override
setDefaultThreadRateLimitPerUser(Duration value) → void
override
setName(String value) → void
override
setNsfw(bool value) → void
override
setParentId(String value) → void
override
setPermissionOverwrite(List<ChannelPermissionOverwrite> value) → void
override
setPosition(int value) → void
override
setRateLimitPerUser(Duration value) → void
override
setRtcRegion(String value) → void
override
setTopic(String value) → void
override
setUserLimit(int value) → void
override
setVideoQualityMode(VideoQuality value) → void
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

announcement() AnnouncementChannelBuilder
Build announcement channel.
category() CategoryChannelBuilder
Build category channel.
forum() ForumChannelBuilder
Build forum channel.
text() TextChannelBuilder
Build text channel.
thread(ChannelType type) ThreadChannelBuilder
Build category channel.
voice() VoiceChannelBuilder
Build voice channel.