@open-wa/wa-automate-types-only 4.62.3 → 4.62.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Client.d.ts +3 -2
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -482,10 +482,11 @@ export declare class Client {
|
|
482
482
|
*/
|
483
483
|
getUnsentMessages(): Promise<Message[]>;
|
484
484
|
/**
|
485
|
-
* Forces the session to update the connection state.
|
485
|
+
* Forces the session to update the connection state.
|
486
|
+
* @param killBeforeAttemptingToReconnect Setting this to true will force the session to drop the current socket connection before attempting to reconnect. This is useful if you want to force the session to reconnect immediately.
|
486
487
|
* @returns updated connection state
|
487
488
|
*/
|
488
|
-
forceUpdateConnectionState(): Promise<STATE>;
|
489
|
+
forceUpdateConnectionState(killBeforeReconnect?: boolean): Promise<STATE>;
|
489
490
|
/**
|
490
491
|
* Returns a list of contact with whom the host number has an existing chat who are also not contacts.
|
491
492
|
*/
|