REST Resource: users.spaces
Kaynak: SpaceReadState
Kullanıcının bir alandaki okuma durumu. Okunmuş ve okunmamış mesajları tanımlamak için kullanılır.
JSON gösterimi |
{
"name": string,
"lastReadTime": string
} |
Alanlar |
name |
string
Alanın okuma durumunun kaynak adı. Biçim: users/{user}/spaces/{space}/spaceReadState
|
lastReadTime |
string (Timestamp format)
İsteğe bağlı. Kullanıcının alan okuma durumunun güncellendiği zaman. Genellikle bu, son okunan mesajın zaman damgasına veya bir alandaki son okunma konumunu işaretlemek için kullanıcı tarafından belirtilen bir zaman damgasına karşılık gelir.
|
Yöntemler |
|
Bir kullanıcının alandaki okunma durumuyla ilgili ayrıntıları döndürür. Bu ayrıntılar, okunmuş ve okunmamış mesajları tanımlamak için kullanılır. |
|
Kullanıcının bir alandaki okunma durumunu günceller. Bu durum, okunmuş ve okunmamış mesajları tanımlamak için kullanılır. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-02-27 UTC.
[null,null,["Son güncelleme tarihi: 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"]]