The data property has the optional attributes as below:
The metadata attribute contains any valid JSON data with additional information about message.
The attachments attribute contains JSON array of attachment objects.
The text attribute contains a text message to be sent.
The customData attribute contains any valid JSON data and it is required for message with custom category.