Class UpdateDraftToRecipientsAction
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعديلمسودةإلىالمستلمونالإجراء
تعديل مستلمي "إلى" مسودة رسالة إلكترونية
مستندات تفصيلية
addUpdateToRecipients(toRecipientEmails)
تعديل مستلمي "إلى" مسودة رسالة إلكترونية
المعلَمات
الاسم | النوع | الوصف |
toRecipientEmails | String[] | المستلِمون المُدرَجون في حقل "إلى" لإدراجها في مسودة الرسالة الإلكترونية |
الإرجاع
UpdateDraftToRecipientsAction
: هذا العنصر، لإنشاء سلسلة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]