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

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

Operators

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