AI-generated Key Takeaways
-
SpaceReadStatetracks a user's read progress within a Google Chat space, indicating which messages are read and unread. -
It's represented in JSON format with a
namefield (identifying the user and space) and an optionallastReadTimefield (indicating the last read message or user-defined position). -
You can retrieve and update a user's
SpaceReadStateusing thegetSpaceReadStateandupdateSpaceReadStatemethods, respectively, allowing developers to manage read receipts and user progress within Chat spaces.
Resource: SpaceReadState
A user's read state within a space, used to identify read and unread messages.
| JSON representation |
|---|
{ "name" : string , "lastReadTime" : string } |
| Fields | |
|---|---|
name
|
Resource name of the space read state. Format: |
lastReadTime
|
Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space. |
Methods |
|
|---|---|
|
Returns details about a user's read state within a space, used to identify read and unread messages. |
|
Updates a user's read state within a space, used to identify read and unread messages. |

