ServerTextChannel class
final
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