Class UpdateDraftToRecipientsAction
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
GüncelleTaslakAlıcıİşlemi
E-posta taslağının Alıcılar alıcılarını günceller.
Ayrıntılı dokümanlar
addUpdateToRecipients(toRecipientEmails)
E-posta taslağının Alıcılar alıcılarını günceller.
Parametreler
Ad | Tür | Açıklama |
toRecipientEmails | String[] | E-posta taslağına eklenecek Alıcılar. |
Return
UpdateDraftToRecipientsAction
: Zincirleme için bu nesne.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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."]]