किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
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"]],["आखिरी बार 2024-12-02 (UTC) को अपडेट किया गया."],[[["`ContentType` is an enum used to define the type of content generated by `UpdateDraftActionResponse`."],["Content types include `TEXT` (default plain text), `MUTABLE_HTML` (editable HTML), and `IMMUTABLE_HTML` (non-editable HTML)."],["To specify a content type, use the syntax: `CardService.ContentType.PROPERTY`, replacing `PROPERTY` with the desired type."]]],["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"]]