A static factory method to create an InboundMessage object from a deserialized InboundMessage-like object encoded using Ably's wire protocol.
A InboundMessage-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 promise which will be fulfilled with an InboundMessage object.
A static factory method to create an array of InboundMessage objects from an array of deserialized InboundMessage-like object encoded using Ably's wire protocol.
An array of InboundMessage-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.
A promise which will be fulfilled with an array of InboundMessage objects.
Generated using TypeDoc
Static utilities related to messages.