mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 20:49:14 +00:00
@@ -514,6 +514,15 @@ class Client extends EventEmitter {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Marks the client as online
|
||||||
|
*/
|
||||||
|
async sendPresenceAvailable() {
|
||||||
|
return await this.pupPage.evaluate(() => {
|
||||||
|
return window.Store.Wap.sendPresenceAvailable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables and returns the archive state of the Chat
|
* Enables and returns the archive state of the Chat
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
|
|||||||
Reference in New Issue
Block a user