MessageSnapshot class
A limited set of fields of a Message.
- Implementers
Properties
-
attachments
→ List<
Attachment> -
A list of files attached to this message.
final
-
components
→ List<
MessageComponent> ? -
A list of components in this message.
final
- content → String
-
The content of the message.
final
- editedTimestamp → DateTime?
-
The time when this message was last edited, or
null
if the message was never edited.final -
embeds
→ List<
Embed> -
A list of embeds in this message.
final
- flags → MessageFlags
-
Any flags applied to this message.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mentions
→ List<
User> -
A list of users specifically mentioned in this message.
final
-
roleMentionIds
→ List<
Snowflake> -
A list of roles mentioned in the message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stickers
→ List<
StickerItem> -
A list of Stickers attached to this message.
final
- timestamp → DateTime
-
The time when this message was sent.
final
- type → MessageType
-
The type of this message.
final
Methods
-
defaultToString(
) → String -
Same as
toString
, but only called when dart:mirrors is not available.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited