Bắt buộc. Các đường dẫn trường cần cập nhật. Các đường dẫn trường hiện được hỗ trợ:
lastReadTime
Khi lastReadTime xuất hiện trước thời gian tạo thông báo mới nhất, không gian sẽ có trạng thái là chưa đọc trong giao diện người dùng.
Để đánh dấu không gian là đã đọc, hãy đặt lastReadTime thành bất kỳ giá trị nào muộn hơn (lớn hơn) thời gian tạo tin nhắn gần đây nhất. lastReadTime bị buộc phải khớp với thời gian tạo thông báo mới nhất. Xin lưu ý rằng trạng thái đọc không gian chỉ ảnh hưởng đến trạng thái đã đọc của tin nhắn xuất hiện trong cuộc trò chuyện cấp cao nhất của không gian. Dấu thời gian này không ảnh hưởng đến các câu trả lời trong chuỗi mà thay vào đó, phụ thuộc vào trạng thái đọc chuỗi.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-02-27 UTC."],[[["This API updates a user's read state within a Google Chat space, marking messages as read or unread."],["It requires user authentication and the `chat.users.readstate` OAuth scope for authorization."],["The request uses the PATCH method and specifies the space read state resource name in the URL path."],["You can control which fields to update using the `updateMask` query parameter, such as setting the `lastReadTime` to mark a space as read."],["The request and response bodies utilize the `SpaceReadState` object to represent the user's read state information."]]],["This outlines updating a user's read state in a space using a PATCH request to `https://chat.googleapis.com/v1/{spaceReadState.name=users/*/spaces/*/spaceReadState}`. Key components include specifying the `spaceReadState.name` in the path, updating the `lastReadTime` via the `updateMask` query parameter, and providing a `SpaceReadState` instance in the request body. The response, if successful, returns a `SpaceReadState` instance. This operation requires user authentication and the `https://www.googleapis.com/auth/chat.users.readstate` authorization scope.\n"]]