Class UpdateDraftToRecipientsAction
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อัปเดตฉบับร่างถึงผู้รับการดำเนินการ
อัปเดตผู้รับ "ถึง" ของอีเมลฉบับร่าง
เอกสารประกอบโดยละเอียด
addUpdateToRecipients(toRecipientEmails)
อัปเดตผู้รับ "ถึง" ของอีเมลฉบับร่าง
พารามิเตอร์
ชื่อ | ประเภท | คำอธิบาย |
toRecipientEmails | String[] | ผู้รับ "ถึง" เพื่อแทรกลงในอีเมลฉบับร่าง |
รีเทิร์น
UpdateDraftToRecipientsAction
— ออบเจ็กต์นี้สําหรับการต่อเชื่อม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis action updates the "To" recipients of an email draft.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method, \u003ccode\u003eaddUpdateToRecipients\u003c/code\u003e, which takes an array of email addresses as input for the new recipients.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eaddUpdateToRecipients\u003c/code\u003e will replace the existing "To" recipients with the provided list.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns an \u003ccode\u003eUpdateDraftToRecipientsAction\u003c/code\u003e object, allowing for chained operations.\u003c/p\u003e\n"]]],["The `UpdateDraftToRecipientsAction` class modifies the \"To\" recipients of an email draft. The key method, `addUpdateToRecipients(toRecipientEmails)`, takes an array of email addresses (`String[]`) as input. This method inserts the provided email addresses into the draft's \"To\" field. The method returns an instance of `UpdateDraftToRecipientsAction`, allowing for method chaining. This action allows updating draft recipients.\n"],null,["# Class UpdateDraftToRecipientsAction\n\nUpdateDraftToRecipientsAction\n\nUpdates the To recipients of an email draft. \n\n### Methods\n\n| Method | Return type | Brief description |\n|----------------------------------------------------------------------------|------------------------------------|----------------------------------------------|\n| [addUpdateToRecipients(toRecipientEmails)](#addUpdateToRecipients(String)) | [UpdateDraftToRecipientsAction](#) | Updates the To recipients of an email draft. |\n\nDetailed documentation\n----------------------\n\n### `add``Update``To``Recipients(toRecipientEmails)`\n\nUpdates the To recipients of an email draft.\n\n#### Parameters\n\n| Name | Type | Description |\n|-------------------------|------------|-------------------------------------------------|\n| `to``Recipient``Emails` | `String[]` | The To recipients to insert to the email draft. |\n\n#### Return\n\n\n[UpdateDraftToRecipientsAction](#) --- This object, for chaining."]]