Decodes and decrypts a deserialized PresenceMessage-like object using the cipher in ChannelOptions. Any residual transforms that cannot be decoded or decrypted will be in the encoding property. Intended for users receiving messages from a source other than a REST or Realtime channel (for example a queue) to avoid having to parse the encoding string.
Parameters
JsonObject: any
The deserialized PresenceMessage-like object to decode and decrypt.
Decodes and decrypts a deserialized
PresenceMessage
-like object using the cipher in ChannelOptions. Any residual transforms that cannot be decoded or decrypted will be in theencoding
property. Intended for users receiving messages from a source other than a REST or Realtime channel (for example a queue) to avoid having to parse the encoding string.