decode Fields
Decodes the message content from field data.
Called when receiving a message. Note: localPath and remoteUrl are restored automatically by the SDK and should not be decoded here. Only decode your custom business fields.
Parameters
fields
the deserialized JSON field data of the message