Module MsgExtendServiceInterface
Type Aliases
GetMsgsByIdServerOptions
Get
Msgs
By
Id
Server
Options
: { reqMsgs
: { from
: string; idServer
: string; scene
: TMsgScene; time
: number; to
: string }[] }Type declaration
reqMsgs: { from: string; idServer: string; scene: TMsgScene; time: number; to: string }[]
GetThreadMsgsOptions
Get
Thread
Msgs
Options
: { beginTime
?: number; endTime
?: number; lastMsgId
?: string; limit
?: number; reverse
?: boolean; scene
: TMsgScene; threadMsgFromAccount
: string; threadMsgIdServer
: string; threadMsgTime
: number; threadMsgToAccount
: string }Type declaration
Optional beginTime?: number
Optional endTime?: number
Optional lastMsgId?: string
Optional limit?: number
Optional reverse?: boolean
threadMsgFromAccount: string
threadMsgIdServer: string
threadMsgTime: number
threadMsgToAccount: string
GetThreadMsgsResult
Get
Thread
Msgs
Result
: { msgs
: IMMessage[]; threadMsg
: IMMessage; timetag
: number; total
: number }Type declaration
timetag: number
total: number
时间戳, 开始时间, 精确到ms, 默认为0