TextChannel class

Represents a Discord TextChannel

Inheritance

Constructors

TextChannel(String id, String name, Guild guild, int channelType, String topic)

Properties

guild Guild?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
name String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String
final
type int
finalinherited

Methods

mention() String
Returns a mention string to mention a Channel
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage([String? message, List<MessageEmbed>? embeds]) Future<void>
Send a message to the TextChannel instance
toString() String
A string representation of this object.
inherited

Operators

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