QChatGetMessageHistoryParam class

"查询历史消息"接口入参

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatGetMessageHistoryParam({required int serverId, required int channelId, int? limit, int? excludeMessageId, int? fromTime, bool reverse = false, int? toTime})
QChatGetMessageHistoryParam.fromJson(Map<String, dynamic> json)
factory

Properties

channelId int
频道Id
final
excludeMessageId int?
excludeMsgId,排除消息id
getter/setter pair
fromTime int?
起始时间
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int?
limit,条数限制,默认100
getter/setter pair
reverse bool
reverse,是否反向
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
服务器Id
final
toTime int?
结束时间
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