REST Resource: users.spaces.threads
Stay organized with collections
Save and categorize content based on your preferences.
Resource: ThreadReadState
A user's read state within a thread, used to identify read and unread messages.
JSON representation |
{
"name": string,
"lastReadTime": string
} |
Fields |
name |
string
Resource name of the thread read state. Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
|
lastReadTime |
string (Timestamp format)
The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread.
|
Methods |
|
Returns details about a user's read state within a thread, used to identify read and unread messages. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[],["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"],null,[]]