We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5baf94d commit 99f7798Copy full SHA for 99f7798
ably.d.ts
@@ -3240,6 +3240,14 @@ declare namespace Types {
3240
* @param channelOptions - A {@link ChannelOptions} object containing the cipher.
3241
*/
3242
fromEncodedArray: (JsonArray: any[], channelOptions?: ChannelOptions) => PresenceMessage[];
3243
+
3244
+ /**
3245
+ * Initialises a `PresenceMessage` from a `PresenceMessage`-like object.
3246
+ *
3247
+ * @param values - The values to intialise the `PresenceMessage` from.
3248
+ * @param stringifyAction - Whether to convert the `action` field from a number to a string.
3249
+ */
3250
+ fromValues(values: PresenceMessage | Record<string, unknown>, stringifyAction?: boolean): PresenceMessage;
3251
}
3252
3253
/**
0 commit comments