REST Resource: users.spaces
ทรัพยากร: SpaceReadState
สถานะการอ่านของผู้ใช้ภายในพื้นที่ทำงาน ซึ่งใช้เพื่อระบุข้อความที่อ่านแล้วและยังไม่อ่าน
การแสดง JSON |
{
"name": string,
"lastReadTime": string
} |
ช่อง |
name |
string
ชื่อทรัพยากรของสถานะการอ่านพื้นที่ทำงาน รูปแบบ: users/{user}/spaces/{space}/spaceReadState
|
lastReadTime |
string (Timestamp format)
ไม่บังคับ เวลาที่มีการอัปเดตสถานะการอ่านพื้นที่ทำงานของผู้ใช้ โดยปกติแล้วการประทับเวลานี้จะสอดคล้องกับการประทับเวลาของข้อความที่อ่านล่าสุด หรือการประทับเวลาที่ผู้ใช้ระบุไว้เพื่อทําเครื่องหมายตําแหน่งการอ่านล่าสุดในพื้นที่ทำงาน
|
เมธอด |
|
แสดงรายละเอียดเกี่ยวกับสถานะการอ่านของผู้ใช้ภายในพื้นที่ทำงาน ซึ่งใช้ในการระบุข้อความที่อ่านแล้วและยังไม่อ่าน |
|
อัปเดตสถานะการอ่านของผู้ใช้ในพื้นที่ทำงาน ซึ่งใช้เพื่อระบุข้อความที่อ่านแล้วและยังไม่อ่าน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-05 UTC
[null,null,["อัปเดตล่าสุด 2024-11-05 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"]]