Class ComposeActionResponse

Compose Action Response

The response object that may be returned from a callback method for compose action in a Gmail add-on .

 const 
  
 composeActionResponse 
  
 = 
  
 CardService 
 . 
 newComposeActionResponseBuilder 
 () 
  
 . 
 setGmailDraft 
 ( 
 GmailApp 
 . 
 createDraft 
 ( 
 'recipient' 
 , 
  
 'subject' 
 , 
  
 'body' 
 )) 
  
 . 
 build 
 (); 

Methods

Method Return type Brief description
String Prints the JSON representation of this object.

Detailed documentation

print Json()

Prints the JSON representation of this object. This is for debugging only.

Return

String

Design a Mobile Site
View Site in Mobile | Classic
Share by: