Enum UpdateDraftBodyType
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अपडेट करेंड्राफ़्टबॉडीटाइप
एक ऐसी वैल्यू जो UpdateDraftBodyAction
का टाइप बताती है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.UpdateDraftBodyType.IN_PLACE_INSERT
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
IN_PLACE_INSERT | Enum | डिफ़ॉल्ट. अपडेट ऐक्शन, कर्सर की मौजूदा जगह पर कॉन्टेंट डालते हैं. साथ ही, चुने गए कॉन्टेंट को बदल देते हैं. |
INSERT_AT_START | Enum | अपडेट ऐक्शन, मैसेज के मुख्य हिस्से की शुरुआत में कॉन्टेंट डालते हैं. |
INSERT_AT_END | Enum | अपडेट ऐक्शन, मैसेज के मुख्य हिस्से के आखिर में कॉन्टेंट डालते हैं. अगर ईमेल हस्ताक्षर मौजूद है, तो वेब पर Gmail में, अपडेट करने की कार्रवाई, उपयोगकर्ता के हस्ताक्षर के बाद डाली जाती है. Gmail के मोबाइल ऐप्लिकेशन में, अपडेट करने की कार्रवाई, उपयोगकर्ता के हस्ताक्षर से पहले डाली जाती है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eUpdateDraftBodyType\u003c/code\u003e is an enum used within \u003ccode\u003eUpdateDraftBodyAction\u003c/code\u003e to specify how the draft body of a message is modified.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eIN_PLACE_INSERT\u003c/code\u003e (default, replaces selected content or inserts at cursor), \u003ccode\u003eINSERT_AT_START\u003c/code\u003e (inserts at the beginning), and \u003ccode\u003eINSERT_AT_END\u003c/code\u003e (inserts at the end, respecting email signatures).\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, call them using the format: \u003ccode\u003eCardService.UpdateDraftBodyType.[Property Name]\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum UpdateDraftBodyType\n\nUpdateDraftBodyType\n\nAn enum value that specifies the type of an [UpdateDraftBodyAction](/apps-script/reference/card-service/update-draft-body-action).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.UpdateDraftBodyType.IN_PLACE_INSERT`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IN_PLACE_INSERT` | `Enum` | Default. Update actions insert content at the current cursor position, replacing any selected content. |\n| `INSERT_AT_START` | `Enum` | Update actions insert content at the start of message body. |\n| `INSERT_AT_END` | `Enum` | Update actions insert content at the end of the message body. If an email signature is present, in Gmail on the web, the update action inserts after the user's signature. In the Gmail mobile app, the update action inserts before the user's signature. |"]]