VoiceChannel class

Inheritance

Constructors

VoiceChannel(int? _bitrate, int? _userLimit, String? _rtcRegion, int _videoQualityMode, bool nsfw, WebhookManager webhooks, MessageManager<Message> 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
no setter
flags List<Flag>
Get List of Flag
no setterinherited
guild Guild
Get Guild from Ioc
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
Get id of this
no setterinherited
isNsfw bool
Is channel allow nsfw
no setterinherited
label String
Get GuildChannel label
no setterinherited
lastMessage Message?
Get last Message of this
no setterinherited
members Map<Snowflake, GuildMember>
Get current online members
no setter
messages MessageManager<Message>
Get MessageManager
no setterinherited
parent CategoryChannel?
Get parent CategoryChannel of this
no setteroverride
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
no setterinherited
position int?
Get GuildChannel permission
no setterinherited
rtcRegion String?
Get region of this
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
Get GuildChannel type
no setterinherited
userLimit int?
Get User max on this
no setter
videoQualityMode int
Get video quality of this
no setter
webhooks → WebhookManager
Access to WebhookManager
no setterinherited

Methods

cast<T>() → T
inherited
createInvite() Future<Invite>
Create an Invite for this
inherited
createMessageCollector(bool filter(Message message), {int? max, Duration? duration}) MessageCollector<PartialMessage<PartialChannel>>
inherited
delete({String? reason}) Future<bool>
Deletes this
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send({String? content, List<EmbedBuilder>? embeds, ComponentBuilder? components, List<AttachmentBuilder>? attachments, 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>
Set label of this
inherited
setNsfw(bool value) Future<void>
Allow or disallow nsfw of this
inherited
setParent(CategoryChannel channel) Future<void>
Set parents of this
inherited
setParentId(Snowflake id) Future<void>
Set parents of this
inherited
setPermissionsOverwrite(List<PermissionOverwrite> permissions) Future<void>
Set permissions of this
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>
Update this
inherited

Operators

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