QChatUpdateMessageParam class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatUpdateMessageParam({required int channelId, required QChatUpdateParam updateParam, required int serverId, required int time, required int msgIdServer, Map<String, dynamic>? extension, int? serverStatus, QChatMessageAntiSpamOption? antiSpamOption, int? subType, String? body})
QChatUpdateMessageParam.fromJson(Map<String, dynamic> json)
factory

Properties

antiSpamOption QChatMessageAntiSpamOption?
消息反垃圾配置选项
getter/setter pair
body String?
消息body
getter/setter pair
channelId int
消息所属的channelId,必填
final
extension Map<String, dynamic>?
消息自定义扩展
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
msgIdServer int
服务端生成的消息id,全局唯一,必填
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
消息所属的serverId,必填
final
serverStatus int?
状态,可以自定义(status>= 10000)
getter/setter pair
subType int?
消息子类型
getter/setter pair
time int
消息发送时间,从QChatMessage中获取,不可随便设置,必填
final
updateParam QChatUpdateParam
更新操作通用参数,必填
final

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