GuildVoiceChannel class

Inheritance
Implemented types

Properties

bitrate int
The bitrate of the channel in bits/s.
final
guild PartialGuild
The guild this channel is in.
no setteroverride
guildId Snowflake
The ID of the Guild this channel is in.
final
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
The id of this entity.
finalinherited
isNsfw bool
Whether this channel is marked as NSFW.
final
lastMessage PartialMessage?
The last message sent in this channel, or null if no messages have been sent.
no setteroverride
lastMessageId Snowflake?
The ID of the last Message snt in this channel, or null if no messages have been sent.
final
lastPinTimestamp DateTime?
The time at which the last message was pinned, or null if no messages have been pinned.
final
manager ChannelManager
The manager for this entity.
finalinherited
messages MessageManager
A Manager for the Messages of this channel.
no setterinherited
name String
The name of this channel.
final
parent PartialChannel?
This channel's parent.
no setteroverride
parentId Snowflake?
The ID of this channel's parent.
final
permissionOverwrites List<PermissionOverwrite>
The permission overwrites for members and roles in this channel.
final
position int
The positing on this channel in the guild's channel list.
final
rateLimitPerUser Duration?
The rate limit duration per user.
final
rtcRegion String?
The ID of the voice region for this channel, or automatic if null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
The type of this channel.
no setteroverride
userLimit int?
The maximum number of users that can join this channel at once.
final
videoQualityMode VideoQualityMode
The VideoQualityMode for cameras in this channel.
final

Methods

createInvite(InviteBuilder builder, {String? auditLogReason}) Future<Invite>
Create an invite to this channel.
override
defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
delete({String? auditLogReason}) Future<void>
Delete this channel.
inherited
deletePermissionOverwrite(Snowflake id) Future<void>
Remove a permission overwrite from this channel.
override
fetch() Future<Channel>
Fetch this entity from the API.
inherited
fetchWebhooks() Future<List<Webhook>>
List the webhooks in this channel.
override
follow(Snowflake id) Future<void>
Follow another channel's announcement messages in this channel.
inherited
get() Future<Channel>
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch this entity and return it.
inherited
listInvites() Future<List<InviteWithMetadata>>
List the invites in this channel.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(MessageBuilder builder) Future<Message>
Send a message to this channel.
inherited
toString() String
A string representation of this object.
inherited
triggerTyping() Future<void>
Trigger a typing indicator in this channel from the current user.
inherited
update(UpdateBuilder<Channel> builder) Future<Channel>
Update this channel.
inherited
updatePermissionOverwrite(PermissionOverwriteBuilder builder) Future<void>
Update or create a permission overwrite in this channel.
override

Operators

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