REST Resource: users.spaces
리소스: SpaceReadState
스페이스 내 사용자의 읽기 상태로, 읽은 메시지와 읽지 않은 메시지를 식별하는 데 사용됩니다.
JSON 표현 |
{
"name": string,
"lastReadTime": string
} |
필드 |
name |
string
스페이스 읽기 상태의 리소스 이름입니다. 형식: users/{user}/spaces/{space}/spaceReadState
|
lastReadTime |
string (Timestamp format)
선택사항입니다. 사용자의 스페이스 읽기 상태가 업데이트된 시간입니다. 일반적으로 마지막으로 읽은 메시지의 타임스탬프 또는 스페이스에서 마지막으로 읽은 위치를 표시하기 위해 사용자가 지정한 타임스탬프에 해당합니다.
|
메서드 |
|
스페이스 내에서 사용자의 읽기 상태에 관한 세부정보를 반환하며 읽은 메시지와 읽지 않은 메시지를 식별하는 데 사용됩니다. |
|
스페이스 내에서 사용자의 읽기 상태를 업데이트하며 읽은 메시지와 읽지 않은 메시지를 식별하는 데 사용됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-27(UTC)
[null,null,["최종 업데이트: 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"]]