Show message

Display various messages via Zoho Writer extension

Data parameter

ParameterData TypeDescription
typeStringSpecifies whether the message has been successfully displayed or not
titleStringSpecifies the title of the extension
messageStringSpecifies the message to be displayed
buttonsJSON objectPass a String value with URLs for each button action

 

Sample buttons JSON

Copied[
{
  "button_name": "Error",
  "button_link": "https://google.com"
                   },
  {
   "button_name": "Done",
                   }
]

Handle extension message

CopiedWriterClient.dispatch("showmessage", data).then(function(response){
console.log("response::"+response);
});