REST Resource: users.drafts
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: ड्राफ़्ट
उपयोगकर्ता के मेलबॉक्स में मौजूद ईमेल का ड्राफ़्ट.
JSON के काेड में दिखाना |
{
"id": string,
"message": {
object (Message )
}
} |
फ़ील्ड |
id |
string
ड्राफ़्ट का बदला न जा सकने वाला आईडी.
|
message |
object (Message )
ड्राफ़्ट में मौजूद मैसेज का कॉन्टेंट.
|
तरीके |
|
DRAFT लेबल के साथ नया ड्राफ़्ट बनाता है. |
|
यह विकल्प, चुने गए ड्राफ़्ट को तुरंत और हमेशा के लिए मिटा देता है. |
|
तय किया गया ड्राफ़्ट पाता है. |
|
उपयोगकर्ता के मेलबॉक्स में मौजूद ड्राफ़्ट की सूची दिखाता है. |
|
To , Cc , और Bcc हेडर में मौजूद, ईमेल पाने वालों को ईमेल का मौजूदा ड्राफ़्ट भेजता है. |
|
ड्राफ़्ट का कॉन्टेंट बदलता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# REST Resource: users.drafts\n\n- [Resource: Draft](#Draft)\n - [JSON representation](#Draft.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Draft\n---------------\n\nA draft email in the user's mailbox.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"message\": { object (/workspace/gmail/api/reference/rest/v1/users.messages#Message) } } ``` |\n\n| Fields ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The immutable ID of the draft. |\n| `message` | `object (`[Message](/workspace/gmail/api/reference/rest/v1/users.messages#Message)`)` The message content of the draft. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| ### [create](/workspace/gmail/api/reference/rest/v1/users.drafts/create) | Creates a new draft with the `DRAFT` label. |\n| ### [delete](/workspace/gmail/api/reference/rest/v1/users.drafts/delete) | Immediately and permanently deletes the specified draft. |\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.drafts/get) | Gets the specified draft. |\n| ### [list](/workspace/gmail/api/reference/rest/v1/users.drafts/list) | Lists the drafts in the user's mailbox. |\n| ### [send](/workspace/gmail/api/reference/rest/v1/users.drafts/send) | Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. |\n| ### [update](/workspace/gmail/api/reference/rest/v1/users.drafts/update) | Replaces a draft's content. |"]]