Search
Preparing search index...
The search index is not available
Chatroom
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Chatroom
src/ChatroomMsgServiceInterface
QueryMessageHistoryOptions
Interface QueryMessageHistoryOptions
Hierarchy
QueryMessageHistoryOptions
Index
Properties
limit
msg
Types
reverse
timetag
Properties
Optional
limit
limit
?:
number
一次查询多少条记录
Optional
msg
Types
msg
Types
?:
(
"text"
|
"image"
|
"audio"
|
"video"
|
"geo"
|
"notification"
|
"file"
|
"tip"
|
"robot"
|
"g2"
|
"custom"
)
[]
Optional
reverse
reverse
?:
boolean
true:升序查找,以 timetag 记为最早的时间戳,寻找时间大于 timetag 的消息
false:降序查找,以 timetag 记为最晚的时间戳,寻找时间小于 timetag 的消息
Optional
timetag
timetag
?:
number
若为 0,则当 reverse = true时,从最早的消息开始查询;当 reverse = false时,从最晚的消息开始查询
Modules
src/
Chatroom
Interface
src/
Chatroom
Member
Service
Interface
src/
Chatroom
Msg
Service
Interface
src/
Chatroom
Queue
Interface
src/
Chatroom
Service
Interface
src/
Cloud
Storage
Service
Interface
src/types
Query
Message
History
Options
limit
msg
Types
reverse
timetag
一次查询多少条记录