ChatPresence class

~english The presence property class that contains presence properties, including the publisher's user ID and current presence state, and the platform used by the online device, as well as the presence's extension information, update time, and subscription expiration time. ~end

~chinese 在线状态属性类,包含发布者的用户名、在线设备使用的平台、当前在线状态以及在线状态的扩展信息、更新时间和到期时间。 ~end

Constructors

ChatPresence.fromJson(Map map)
factory

Properties

expiryTime int
~english The expiration time of the presence subscription. ~end
final
hashCode int
The hash code for this object.
no setterinherited
lastTime int
~english The presence update time, which is generated by the server. ~end
final
publisher String
~english The user ID of the presence publisher. ~end
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusDescription String
~english The presence description information. ~end
final
statusDetails Map<String, int>?
~english The details of the current presence state. ~end
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

Operators

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