VoiceChannel class Null safety

Inheritance

Constructors

VoiceChannel(int? _bitrate, int? _userLimit, String? _rtcRegion, int _videoQualityMode, bool nsfw, WebhookManager webhooks, MessageManager messages, Snowflake? lastMessageId, Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id)
VoiceChannel.fromPayload(dynamic payload)
factory

Properties

bitrate int?
Get bitrate of this
read-only
flags List<Flag>
Get List of Flag
read-only, inherited
guild Guild
Get Guild from Ioc
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
Get id of this
read-only, inherited
isNsfw bool
Is channel allow nsfw
read-only, inherited
label String
Get GuildChannel label
read-only, inherited
lastMessage Message?
Get last Message of this
read-only, inherited
members Map<Snowflake, GuildMember>
Get current online members
read-only
messages → MessageManager
Get MessageManager
read-only, inherited
parent CategoryChannel?
Get CategoryChannel or TextChannel parent
read-only, override
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
read-only, inherited
position int?
Get GuildChannel permission
read-only, inherited
rtcRegion String?
Get region of this
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ChannelType
Get GuildChannel type
read-only, inherited
userLimit int?
Get User max on this
read-only
videoQualityMode int
Get video quality of this
read-only
webhooks → WebhookManager
Access to WebhookManager
read-only, inherited

Methods

delete() Future<bool>
Deletes this
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
send({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<Message?>
Sends a message on this.
inherited
setBitrate(int bitrate) Future<void>
Define the bitrate of this
setLabel(String value) Future<void>
inherited
setNsfw(bool value) Future<void>
Allow or disallow nsfw of this
inherited
setParent(CategoryChannel channel) Future<void>
inherited
setParentId(Snowflake id) Future<void>
inherited
setPermissionsOverwrite(List<PermissionOverwrite> permissions) Future<void>
inherited
setRegion(String region) Future<void>
Define the rtc region of this
setUserLimit(int value) Future<void>
Define the rate limit of this
setVideoQuality(VideoQualityMode mode) Future<void>
Define the rtc region of this
toString() String
A string representation of this object.
inherited
update(ChannelBuilder builder) Future<void>
inherited

Operators

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