ForumChannel class

Inheritance

Constructors

ForumChannel(Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id, ForumDiscussionManager _discussions)
ForumChannel.fromPayload(dynamic payload)
factory

Properties

discussions → ForumDiscussionManager
Get children 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
label String
Get GuildChannel label
no setterinherited
parent GuildChannel?
Get CategoryChannel or TextChannel parent
no setterinherited
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
no setterinherited
position int?
Get GuildChannel permission
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
Get GuildChannel type
no setterinherited

Methods

cast<T>() → T
inherited
delete({String? reason}) Future<bool>
Deletes this
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaultRateLimit(Duration duration) Future<void>
Defines the default rate limit per user of this
setDefaultReactionEmoji(EmojiBuilder emoji) Future<void>
Defines the default emoji of this
setLabel(String value) Future<void>
Set label 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
setTags(List<ForumTagBuilder> tags) Future<void>
Defines the tags 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