A static factory method to create a Message object from a deserialized Message-like object encoded using Ably's wire protocol.
A Message object.
A Message-like deserialized object.
Optional channelOptions: ChannelOptions
A ChannelOptions object. If you have an encrypted channel, use this to allow the library to decrypt the data.
A static factory method to create an array of Message objects from an array of deserialized Message-like object encoded using Ably's wire protocol.
An array of Message objects.
An array of Message-like deserialized objects.
Optional channelOptions: ChannelOptions
A ChannelOptions object. If you have an encrypted channel, use this to allow the library to decrypt the data.
Generated using TypeDoc
Static utilities related to messages.