Message class

Represents any Discord message in a TextChannel

Constructors

Message({required String id, required TextChannel channel, required User? author, required String content})

Properties

author User?
final
channel TextChannel
final
content String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reply([String? message, List<MessageEmbed>? embeds]) Future<void>
Sends a reply to a Message
toString() String
A string representation of this object.
inherited

Operators

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