A builder for ComposeActionResponse
objects.
Methods
Method | Return type | Brief description |
---|---|---|
build() | ComposeActionResponse | Builds the current compose action response and validates it. |
setGmailDraft(draft) | ComposeActionResponseBuilder | Sets the draft GmailMessage created
using GmailMessage.createDraftReply(body) or
similar functions. |
Detailed documentation
build()
Builds the current compose action response and validates it.
Return
ComposeActionResponse
— A validated ComposeActionResponse
.
Throws
Error
— if the constructed compose action response isn't valid.
setGmailDraft(draft)
Sets the draft GmailMessage
created
using GmailMessage.createDraftReply(body)
or
similar functions.
Parameters
Name | Type | Description |
---|---|---|
draft | GmailDraft | The GmailDraft to use. |
Return
ComposeActionResponseBuilder
— This object, for chaining.