ServerAnnouncementChannel class final

Inheritance

Constructors

ServerAnnouncementChannel(ChannelProperties _properties)

Properties

category ServerCategoryChannel?
latefinal
categoryId Snowflake?
no setter
description String?
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setteroverride
isNsfw bool
no setter
messages → MessageManager<ServerMessage>
final
name String
no setteroverride
permissions List<ChannelPermissionOverwrite>
no setter
position int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake
no setteroverride
threads → ThreadsManager
no setter
type ChannelType
no setteroverride

Methods

cast<T extends Channel>() → T
inherited
delete({String? reason}) Future<void>
Deletes the channel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveServer({bool force = true}) Future<Server>
Resolves the Server the channel belongs to.
inherited
setCategory(String categoryId, {String? reason}) Future<void>
Sets the category of the channel.
setDescription(String description, {String? reason}) Future<void>
Sets the description of the channel.
setName(String name, {String? reason}) Future<void>
Sets the name of the channel.
setNsfw(bool nsfw, {String? reason}) Future<void>
Sets the nsfw of the channel.
setPosition(int position, {String? reason}) Future<void>
Sets the position of the channel.
toString() String
A string representation of this object.
inherited
update(ChannelBuilderContract builder, {String? reason}) Future<void>
Updates the channel.
inherited

Operators

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