REST Resource: users.drafts
ทรัพยากร: ฉบับร่าง
อีเมลฉบับร่างในกล่องจดหมายของผู้ใช้
การแสดง JSON |
{
"id": string,
"message": {
object (Message )
}
} |
ช่อง |
id |
string
รหัสที่เปลี่ยนแปลงไม่ได้ของฉบับร่าง
|
message |
object (Message )
เนื้อหาข้อความของข้อความร่าง
|
เมธอด |
|
สร้างฉบับร่างใหม่ที่มีป้ายกำกับ DRAFT |
|
ลบฉบับร่างที่ระบุอย่างถาวรทันที |
|
รับฉบับร่างที่ระบุ |
|
แสดงรายการร่างจดหมายในกล่องจดหมายของผู้ใช้ |
|
ส่งร่างจดหมายที่มีอยู่ที่ระบุไปยังผู้รับในส่วนหัว To , Cc และ Bcc |
|
แทนที่เนื้อหาของฉบับร่าง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-13 UTC
[null,null,["อัปเดตล่าสุด 2024-10-13 UTC"],[[["A draft represents an email in the user's mailbox that is saved but not yet sent."],["Drafts are identified by a unique, immutable ID and contain a message object with the email content."],["Gmail API provides methods to create, delete, retrieve, list, send, and update drafts."]]],["Drafts, representing unsent emails, are identified by an immutable ID and contain message content. Core actions include creating new drafts, deleting existing ones permanently, retrieving specific drafts, and listing all drafts in a mailbox. Users can send an existing draft to its intended recipients. Additionally, content within a draft can be modified by replacing it entirely. These drafts can be represented using a JSON format.\n"]]