VoiceChannel class

Implemented types
Implementers

Constructors

VoiceChannel()

Properties

bitrate int
The channel's bitrate.
read / write, final, late
client Nyxx
Reference to client instance
final, inherited
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ChannelType
The channel's type. https://discordapp.com/developers/docs/resources/channel#channel-object-channel-types
final, inherited
userLimit int
The channel's user limit.
read / write, final, late

Methods

delete({String auditReason}) Future<void>
Deletes the channel. Throws if bot cannot perform operation
inherited
edit({String name, int bitrate, int position, int userLimit, String auditReason}) Future<VoiceChannel>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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