CategoryGuildChannel class
- Inheritance
-
- Object
- SnowflakeEntity
- IChannel
- MinimalGuildChannel
- GuildChannel
- CategoryGuildChannel
Properties
- channelType ↔ ChannelType
-
Type of this channel
latefinalinherited
- client → INyxx
-
Reference to client
finalinherited
- createdAt → DateTime
-
Gets creation timestamp included in Snowflake
no setterinherited
-
guild
↔ Cacheable<
Snowflake, Guild> -
Id of
Guild
that the channel is in.latefinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
ID of entity as Snowflake
finalinherited
- isNsfw ↔ bool
-
Indicates if channel is nsfw
latefinalinherited
- name ↔ String
-
The channel's name.
latefinalinherited
-
parentChannel
↔ Cacheable<
Snowflake, GuildChannel> ? -
Id of parent channel
latefinalinherited
-
permissionOverrides
↔ List<
PermissionsOverrides> -
Permission override for channel
latefinalinherited
- position ↔ int
-
Relative position of channel in context of channel list
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createInvite(
{int? maxAge, int? maxUses, bool? temporary, bool? unique, String? auditReason}) → Future< Invite> -
Creates new
Invite
for IChannel and returns it"s instanceinherited -
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 ifentity
isn't User or Roleinherited -
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(
Role role) → Future< Permissions> -
Returns effective permissions for
role
to this channel including channel overrides.inherited -
effectivePermissions(
Member member) → Future< Permissions> -
Returns effective permissions for
member
to this channel including channel overrides.inherited -
fetchChannelInvites(
) → Stream< InviteWithMeta> -
Fetches and returns all channel"s Invites
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