REST Resource: users.spaces
Zasób: SpaceReadState
Stan odczytu użytkownika w pokoju używany do identyfikowania przeczytanych i nieprzeczytanych wiadomości.
Zapis JSON |
{
"name": string,
"lastReadTime": string
} |
Pola |
name |
string
Nazwa zasobu stanu odczytu pokoju. Format: users/{user}/spaces/{space}/spaceReadState
|
lastReadTime |
string (Timestamp format)
Opcjonalnie: Czas zaktualizowania stanu odczytu pokoju użytkownika. Zwykle odpowiada to sygnaturze czasowej ostatniej przeczytanej wiadomości lub sygnaturze czasowej określonej przez użytkownika oznaczającej ostatnią przeczytaną wiadomość w pokoju.
|
Metody |
|
Zwraca informacje o stanie odczytu użytkownika w pokoju, które służą do identyfikowania przeczytanych i nieprzeczytanych wiadomości. |
|
Aktualizuje stan odczytu użytkownika w pokoju, który służy do identyfikowania przeczytanych i nieprzeczytanych wiadomości. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-27 UTC."],[[["`SpaceReadState` tracks 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 `name` field (identifying the user and space) and an optional `lastReadTime` field (indicating the last read message or user-defined position)."],["You can retrieve and update a user's `SpaceReadState` using the `getSpaceReadState` and `updateSpaceReadState` methods, respectively, allowing developers to manage read receipts and user progress within Chat spaces."]]],["The `SpaceReadState` resource tracks a user's read status within a space. It's represented in JSON with a `name` string and an optional `lastReadTime` timestamp. The `name` specifies the resource path, while `lastReadTime` indicates the user's last read position. Key actions include retrieving read state details via `getSpaceReadState` and updating it through `updateSpaceReadState`, both helping to identify read and unread messages.\n"]]