parent
8714e90df9
commit
7eb7fa8e28
1 changed files with 9 additions and 0 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue