Message class

Constructors

Message({String? alias, String? msg, bool? parseUrls, Bot? bot, bool? groupable, String? t, DateTime? ts, User? user, String? rid, Map<String, Reaction>? reactions, List<Mention>? mentions, List<String>? channels, Map<String, String>? starred, String? emoji, String? avatar, List<MessageAttachment>? attachments, User? editedBy, DateTime? editedAt, List<String>? urls})
Message.fromMap(Map<String, dynamic>? json)

Properties

alias String?
getter/setter pair
attachments List<MessageAttachment>?
getter/setter pair
avatar String?
getter/setter pair
bot Bot?
getter/setter pair
channels List<String>?
getter/setter pair
editedAt DateTime?
getter/setter pair
editedBy User?
getter/setter pair
emoji String?
getter/setter pair
groupable bool?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
getter/setter pair
mentions List<Mention>?
getter/setter pair
msg String?
getter/setter pair
parseUrls bool?
getter/setter pair
reactions Map<String, Reaction>?
getter/setter pair
rid String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starred Map<String, String>?
getter/setter pair
t String?
getter/setter pair
ts DateTime?
getter/setter pair
updatedAt DateTime?
getter/setter pair
urls List<String>?
getter/setter pair
user User?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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