Message class
Properties
-
attachment
↔ File?
-
The file attached to this message
getter/setter pair
-
author
↔ User
-
The user who sent this message
getter/setter pair
-
channel
↔ Channel
-
The Channel this message originated from
getter/setter pair
-
client
↔ Client
-
The Client that created this message Object
getter/setter pair
-
content
↔ String?
-
The content of this message
getter/setter pair
-
deleted
↔ bool
-
Whether the message has been deleted
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
↔ String
-
The message's ID
getter/setter pair
-
nonce
↔ String
-
A string unique to this message.
Must be set by the client when sending.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
server
↔ Server?
-
The server this message was sent in.
Not available if message was sent in
Group/DM/SavedMessages channel.
getter/setter pair
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited