- Implemented types
-
- Implementers
Methods
-
connect({bool selfMute = false, bool selfDeafen = false})
→ void
-
Connects client to channel
-
createActivityInvite(VoiceActivityType type, {int? maxAge, int? maxUses})
→ Future<IInvite>
-
Creates activity invite. Currently in beta
-
createInvite({int? maxAge, int? maxUses, bool? temporary, bool? unique, String? auditReason})
→ Future<IInvite>
-
Creates new
IInvite
for IChannel and returns it's instance.
inherited
-
delete()
→ Future<void>
-
Deletes channel if guild channel or closes DM if DM channel
inherited
-
deleteChannelPermission(SnowflakeEntity entity, {String? auditReason})
→ Future<void>
-
Deletes permission overwrite for given User or Role
entity
Throws if entity
isn't User
or Role
inherited
-
disconnect()
→ void
-
Disconnects use from channel.
-
dispose()
→ Future<void>
-
Perform cleanup
inherited
-
edit<T extends GuildChannel>(ChannelBuilder builder, {String? auditReason})
→ Future<T>
-
Edits channel
inherited
-
editChannelPermissionOverrides(PermissionOverrideBuilder permissionBuilder, {String? auditReason})
→ Future<void>
-
Allows to edit or set channel permission overrides.
inherited
-
editChannelPermissions(PermissionsBuilder perms, SnowflakeEntity entity, {String? auditReason})
→ Future<void>
-
Allows to set or edit permissions for channel. id can be either User or Role
Throws if id isn't
User
or Role
inherited
-
effectivePermissionForRole(IRole role)
→ Future<IPermissions>
-
Returns effective permissions for
role
to this channel including channel overrides.
inherited
-
effectivePermissions(IMember member)
→ Future<IPermissions>
-
Returns effective permissions for
member
to this channel including channel overrides.
inherited
-
fetchChannelInvites()
→ Stream<IInviteWithMeta>
-
Fetches and returns all channel's
Invite
s
inherited
-
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 ==(dynamic other)
→ bool
-
The equality operator.
inherited