Google 會運用 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)
使用者討論串已讀狀態的更新時間。這通常會對應至討論串中最後一則已讀訊息的時間戳記。
|
方法 |
|
|
傳回使用者在討論串中的讀取狀態詳細資料,用於識別已讀和未讀訊息。 |
|
|
更新使用者在討論串中的已讀狀態,用於識別已讀和未讀訊息。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-11-16 (世界標準時間)。
[null,null,["上次更新時間: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"]]