REST Resource: users.spaces.threads

资源:ThreadReadState

用户在会话串中的已读状态,用于识别已读和未读消息。

JSON 表示法
{
  "name": string,
  "lastReadTime": string
}
字段
name

string

会话串已读状态的资源名称。

格式:users/{user}/spaces/{space}/threads/{thread}/threadReadState

lastReadTime

string (Timestamp format)

用户的会话已读状态的更新时间。这通常对应于会话中最后一条已读消息的时间戳。

方法

getThreadReadState

返回用户在会话中的已读状态详细信息,用于识别已读和未读消息。

updateThreadReadState

更新用户在会话中的已读状态,用于识别已读和未读消息。