Skip to content

Commit

Permalink
WIP: Add PresenceMessage constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Lewis Marshall <[email protected]>
  • Loading branch information
lmars committed Aug 6, 2023
1 parent a0f2aaa commit e6aad42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ably.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit e6aad42

Please sign in to comment.