REST Resource: users.threads
แหล่งข้อมูล: Thread
คอลเล็กชันข้อความที่แสดงถึงการสนทนา
การแสดง JSON |
{
"id": string,
"snippet": string,
"historyId": string,
"messages": [
{
object (Message )
}
]
} |
ช่อง |
id |
string
รหัสที่ไม่ซ้ำกันของชุดข้อความ
|
snippet |
string
ข้อความส่วนสั้นๆ
|
historyId |
string
รหัสของบันทึกประวัติล่าสุดที่แก้ไขชุดข้อความนี้
|
messages[] |
object (Message )
รายการข้อความในชุดข้อความ
|
เมธอด |
|
ลบชุดข้อความที่ระบุทันทีและอย่างถาวร |
|
รับชุดข้อความที่ระบุ |
|
แสดงรายการชุดข้อความในกล่องจดหมายของผู้ใช้ |
|
แก้ไขป้ายกำกับที่ใช้กับชุดข้อความ |
|
ย้ายชุดข้อความที่ระบุไปยังถังขยะ |
|
นำชุดข้อความที่ระบุออกจากถังขยะ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["A Thread is a collection of messages forming a conversation, identified by a unique ID and containing a snippet of the message text."],["Threads contain metadata such as `snippet`, `historyId`, and a list of messages."],["You can manage Threads using methods like `delete`, `get`, `list`, `modify`, `trash`, and `untrash` to perform actions such as retrieving, modifying, or deleting them."]]],["Threads represent message collections in a conversation. Key details include a unique `id`, a `snippet` of text, the `historyId` of modifications, and an array of `messages`. Threads can be managed via methods to get thread information, list all threads, modify labels, and delete, trash, or untrash them. The thread's JSON representation shows the structure of the information, with string fields for identification and metadata and an array of messages.\n"]]