GuildChannel class

Inheritance
Implementers

Constructors

GuildChannel(Snowflake _guildId, Snowflake? _parentId, String _label, int _type, int? _position, int? _flags, PermissionOverwriteManager? _permissions, Snowflake id)

Properties

flags List<Flag>
Get List of Flag
no setter
guild Guild
Get Guild from Ioc
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
Get id of this
no setterinherited
label String
Get GuildChannel label
no setter
parent GuildChannel?
Get CategoryChannel or TextChannel parent
no setter
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
no setter
position int?
Get GuildChannel permission
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
Get GuildChannel type
no setter

Methods

delete() Future<bool>
Deletes this
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLabel(String value) Future<void>
setParent(CategoryChannel channel) Future<void>
setParentId(Snowflake id) Future<void>
setPermissionsOverwrite(List<PermissionOverwrite> permissions) Future<void>
toString() String
A string representation of this object.
inherited
update(ChannelBuilder builder) Future<void>

Operators

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