Enum ComposedEmailType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
作成されたメールの種類作成したメールがスタンドアロンか返信の下書きかを指定する列挙型値。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CardService.ComposedEmailType.REPLY_AS_DRAFT
です。
プロパティ
プロパティ | タイプ | 説明 |
REPLY_AS_DRAFT | Enum | 別のメッセージへの返信である下書き。デフォルトです。 |
STANDALONE_DRAFT | Enum | スタンドアロン メッセージである下書き。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003e\u003ccode\u003eComposedEmailType\u003c/code\u003e is used to define if a composed email is a standalone message or a reply draft.\u003c/p\u003e\n"],["\u003cp\u003eTo use \u003ccode\u003eComposedEmailType\u003c/code\u003e, call it using \u003ccode\u003eCardService.ComposedEmailType\u003c/code\u003e along with the desired property like \u003ccode\u003eREPLY_AS_DRAFT\u003c/code\u003e or \u003ccode\u003eSTANDALONE_DRAFT\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default value for \u003ccode\u003eComposedEmailType\u003c/code\u003e is \u003ccode\u003eREPLY_AS_DRAFT\u003c/code\u003e, indicating a reply to another message.\u003c/p\u003e\n"]]],["The `ComposedEmailType` enum defines the type of an email draft. It has two properties: `REPLY_AS_DRAFT`, representing a reply draft (default), and `STANDALONE_DRAFT`, representing a new, independent message. To use these properties, call `CardService.ComposedEmailType` followed by the desired property, such as `REPLY_AS_DRAFT`. The enum type indicates whether the draft is associated with another message or not.\n"],null,["# Enum ComposedEmailType\n\nComposedEmailType\n\nAn enum value that specifies whether the composed email is a standalone or reply draft.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.ComposedEmailType.REPLY_AS_DRAFT`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|------------------------------------------------------|\n| `REPLY_AS_DRAFT` | `Enum` | A draft that is a reply to another message. Default. |\n| `STANDALONE_DRAFT` | `Enum` | A draft that is a standalone message. |"]]