REST Resource: users.spaces.threads
منبع: ThreadReadState
وضعیت خواندن کاربر در یک رشته، که برای شناسایی پیام های خوانده شده و خوانده نشده استفاده می شود.
نمایندگی JSON |
---|
{
"name": string,
"lastReadTime": string
} |
فیلدها |
---|
name | string نام منبع وضعیت خوانده شده موضوع. قالب: users/{user}/spaces/{space}/threads/{thread}/threadReadState |
lastReadTime | string ( Timestamp format) زمانی که وضعیت خواندن موضوع کاربر به روز شد. معمولاً این با مهر زمانی آخرین پیام خوانده شده در یک رشته مطابقت دارد. |
روش ها |
---|
| جزئیات مربوط به وضعیت خواندن کاربر در یک رشته را که برای شناسایی پیام های خوانده شده و خوانده نشده استفاده می شود، برمی گرداند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی."],[[["ThreadReadState resource indicates a user's read status within a specific thread, helping to distinguish between read and unread messages."],["It is represented in JSON format with `name` and `lastReadTime` fields, specifying the resource name and the timestamp of the last read message."],["You can retrieve details about a user's ThreadReadState using the `getThreadReadState` method to identify read and unread messages within a thread."]]],["The core content defines the `ThreadReadState` resource, which tracks a user's read status within a thread. It's represented in JSON with `name` (resource identifier) and `lastReadTime` (timestamp of the last read message). The `getThreadReadState` method retrieves details about a user's read status, allowing identification of read and unread messages in a thread. `lastReadTime` reflects when the user's read state was last updated, typically matching the timestamp of the most recently read message.\n"]]