REST Resource: users.threads
資源:Thread
JSON 表示法 |
{
"id": string,
"snippet": string,
"historyId": string,
"messages": [
{
object (Message )
}
]
} |
欄位 |
id |
string
執行緒的專屬 ID。
|
snippet |
string
訊息文字的簡短部分,
|
historyId |
string
修改此討論串的最近一次記錄 ID。
|
messages[] |
object (Message )
討論串中的訊息清單。
|
方法 |
|
立即永久刪除指定的討論串。 |
|
取得指定的執行緒。 |
|
列出使用者信箱中的執行緒。 |
|
修改套用至討論串的標籤。 |
|
將指定的討論串移至垃圾桶。 |
|
將指定的討論串從垃圾桶中移除。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[null,null,["上次更新時間:2024-09-05 (世界標準時間)。"],[[["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"]]