AtTextElem class

@ Message Content

Constructors

AtTextElem({String? text, List<String>? atUserList, bool? isAtSelf, List<AtUserInfo>? atUsersInfo, Message? quoteMessage})
AtTextElem.fromJson(Map<String, dynamic> json)

Properties

atUserList List<String>?
List of user IDs mentioned in the message
getter/setter pair
atUsersInfo List<AtUserInfo>?
List of user IDs and their nicknames mentioned in the message, used to replace user IDs with nicknames in the message content
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAtSelf bool?
Whether it includes a mention of oneself
getter/setter pair
quoteMessage Message?
Message that is being replied to, when replying to someone and mentioning others
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Message content
getter/setter pair

Methods

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

Operators

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