Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GetThreadMsgsOptions

Index

Properties

beginTime?: number

时间戳, 开始时间, 精确到ms, 默认为0

endTime?: number

时间戳, 结束时间, 精确到ms, 默认为服务器的当前时间

lastMsgId?: string

上次查询的最后一条消息的idServer, 第一次不填

limit?: number

本次查询的消息数量限制, 最多100条, 默认100条

reverse?: boolean

默认false表示从 endTime 开始往前查找历史消息,true 表示从 beginTime 开始往后查找历史消息

scene: "p2p" | "team" | "superTeam"

场景

threadMsgFromAccount: string

thread根消息的from,即发送者账号

threadMsgIdServer: string

thread根消息的 idServer

threadMsgTime: number

thread根消息的time

threadMsgToAccount: string

thread根消息的to,即接受者账号