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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]