Smart Messaging Using Metadata

Add specific metadata for a message, send the metadata object inside the message object while sending a message. Message metadata type can be HIDDEN, PUSHNOTIFICATION, ARCHIVE.

Sample Message Object JSON with Metadata:

{
  "to": "John",
  "message": "Hidden Message",
  "metadata": {
    "category": "HIDDEN"
  }
}

category value can be:

value
HIDDEN
PUSHNOTIFICATION
ARCHIVE