किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.ContentType.TEXT.
प्रॉपर्टी
प्रॉपर्टी
टाइप
ब्यौरा
TEXT
Enum
इससे पता चलता है कि जनरेट किया गया कॉन्टेंट सादा टेक्स्ट है. डिफ़ॉल्ट.
MUTABLE_HTML
Enum
इससे पता चलता है कि जनरेट किया गया कॉन्टेंट, एचटीएमएल के तौर पर फ़ॉर्मैट किया गया है. कॉन्टेंट जनरेट होने के बाद, उसमें बदलाव किया जा सकता है.
IMMUTABLE_HTML
Enum
इससे पता चलता है कि जनरेट किया गया कॉन्टेंट, एचटीएमएल के तौर पर फ़ॉर्मैट किया गया है. हालांकि, जनरेट होने के बाद इस कॉन्टेंट में बदलाव नहीं किया जा सकता.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eContentType\u003c/code\u003e is an enum used to define the type of content generated by \u003ccode\u003eUpdateDraftActionResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eContent types include \u003ccode\u003eTEXT\u003c/code\u003e (default plain text), \u003ccode\u003eMUTABLE_HTML\u003c/code\u003e (editable HTML), and \u003ccode\u003eIMMUTABLE_HTML\u003c/code\u003e (non-editable HTML).\u003c/p\u003e\n"],["\u003cp\u003eTo specify a content type, use the syntax: \u003ccode\u003eCardService.ContentType.PROPERTY\u003c/code\u003e, replacing \u003ccode\u003ePROPERTY\u003c/code\u003e with the desired type.\u003c/p\u003e\n"]]],["The `ContentType` enum specifies the type of content generated by an `UpdateDraftActionResponse`. It has three properties: `TEXT`, `MUTABLE_HTML`, and `IMMUTABLE_HTML`. `TEXT` indicates plain text, which is the default. `MUTABLE_HTML` represents editable HTML content, while `IMMUTABLE_HTML` represents HTML content that cannot be edited after generation. These properties are accessed via `CardService.ContentType` followed by the chosen type, such as `TEXT`.\n"],null,[]]