diff --git a/ably.d.ts b/ably.d.ts index 75366ad609..31aaa67958 100644 --- a/ably.d.ts +++ b/ably.d.ts @@ -3226,6 +3226,11 @@ declare namespace Types { * Static utilities related to presence messages. */ interface PresenceMessageStatic { + /** + * Construct an empty PresenceMessage. + */ + constructor(); + /** * Decodes and decrypts a deserialized `PresenceMessage`-like object using the cipher in {@link 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. *