Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
REST Resource: users.spaces.threads
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:ThreadReadState
用户在会话串中的已读状态,用于识别已读和未读消息。
| JSON 表示法 |
{
"name": string,
"lastReadTime": string
} |
| 字段 |
name |
string
会话串已读状态的资源名称。 格式:users/{user}/spaces/{space}/threads/{thread}/threadReadState
|
lastReadTime |
string (Timestamp format)
用户的会话已读状态的更新时间。这通常对应于会话中最后一条已读消息的时间戳。
|
方法 |
|
|
返回用户在会话中的已读状态详细信息,用于识别已读和未读消息。 |
|
|
更新用户在会话中的已读状态,用于识别已读和未读消息。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-11-16。
[null,null,["最后更新时间 (UTC):2026-11-16。"],[],["The core content defines the `ThreadReadState` resource, which tracks a user's read status within a thread. It's represented in JSON with `name` (resource identifier) and `lastReadTime` (timestamp of the last read message). The `getThreadReadState` method retrieves details about a user's read status, allowing identification of read and unread messages in a thread. `lastReadTime` reflects when the user's read state was last updated, typically matching the timestamp of the most recently read message.\n"]]