Class UpdateDraftToRecipientsAction
AktualizujProjektDoOdbiorcyDziałanie
Aktualizuje listę adresatów w polu Do wersji roboczej e-maila.
Szczegółowa dokumentacja
addUpdateToRecipients(toRecipientEmails)
Aktualizuje listę adresatów e-maila.
Parametry
Nazwa | Typ | Opis |
toRecipientEmails | String[] | Adresaci, których chcesz wstawić do wersji roboczej e-maila. |
Powrót
UpdateDraftToRecipientsAction
– ten obiekt do łańcucha.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-02 UTC."],[[["This action updates the \"To\" recipients of an email draft."],["It provides a method, `addUpdateToRecipients`, which takes an array of email addresses as input for the new recipients."],["Using `addUpdateToRecipients` will replace the existing \"To\" recipients with the provided list."],["The method returns an `UpdateDraftToRecipientsAction` object, allowing for chained operations."]]],["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"]]