ServerTextChannel class final

Inheritance

Constructors

ServerTextChannel(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
messages → MessageManager<ServerMessage>
final
name String
no setteroverride
permissions List<ChannelPermissionOverwrite>
no setteroverride
position int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
latefinaloverride
serverId Snowflake
no setteroverride
threads → ThreadsManager
no setteroverride
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
send({String? content, List<MessageEmbed>? embeds, Poll? poll, List<MessageComponent>? components}) Future<void>
Sends a message to the channel.
setCategory(String categoryId, {String? reason}) Future<void>
Sets the category of the channel.
setDefaultAutoArchiveDuration(int defaultAutoArchiveDuration, {String? reason}) Future<void>
Sets the default auto-archive duration for the channel.
setDefaultThreadRateLimitPerUser(int value, {String? reason}) Future<void>
Sets the default thread rate limit per user for 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 status of the channel.
setPosition(int position, {String? reason}) Future<void>
Sets the position of the channel.
setRateLimitPerUser(int rateLimitPerUser, {String? reason}) Future<void>
Sets the rate limit per user for the channel.
toString() String
A string representation of this object.
inherited

Operators

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