VoiceChannelBuilder class

Inheritance

Constructors

VoiceChannelBuilder()

Properties

bitrate int?
The bitrate (in bits) of the voice channel (voice only)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id Snowflake?
Id of the channel. When using the channels parameter on GuildBuilder, this field within each channel object may be set to an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to create GUILD_CATEGORY channels by setting the parentChannel.id field on any children to the category's id field. Category channels must be listed before any children.
getter/setter pairinherited
name String?
Name of the channel (1-100 characters)
getter/setter pairinherited
parentChannel SnowflakeEntity?
Id of the parent category for a channel
getter/setter pairinherited
permissionOverrides List<PermissionOverrideBuilder>?
The channel's permission overwrites
getter/setter pairinherited
position int?
Sorting position of the channel
getter/setter pairinherited
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
type ChannelType?
Type of channel
getter/setter pairoverride
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