REST Resource: users.spaces.threads
Zasób: ThreadReadState
Stan przeczytania wątku przez użytkownika używany do identyfikowania przeczytanych i nieprzeczytanych wiadomości.
Zapis JSON |
{
"name": string,
"lastReadTime": string
} |
Pola |
name |
string
Nazwa zasobu stanu odczytu wątku. Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
|
lastReadTime |
string (Timestamp format)
Czas zaktualizowania stanu odczytu wątku użytkownika. Zwykle odpowiada to sygnaturze czasowej ostatniej przeczytanej wiadomości w wątku.
|
Metody |
|
Zwraca informacje o stanie odczytu użytkownika w wątku, używane 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."],[[["ThreadReadState resource indicates a user's read status within a specific thread, helping to distinguish between read and unread messages."],["It is represented in JSON format with `name` and `lastReadTime` fields, specifying the resource name and the timestamp of the last read message."],["You can retrieve details about a user's ThreadReadState using the `getThreadReadState` method to identify read and unread messages within a thread."]]],["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"]]