chore(): generate docs

This commit is contained in:
WWebJS Bot 2024-10-04 04:29:49 +00:00
commit fc722dd1d3
74 changed files with 1179 additions and 539 deletions

View file

@ -4,7 +4,7 @@
<head>
<meta name="generator" content="JSDoc 3.6.11">
<meta charset="utf-8">
<title>whatsapp-web.js 1.26.0 &raquo; Source: structures/Chat.js</title>
<title>whatsapp-web.js 1.26.1-alpha.2 &raquo; Source: structures/Chat.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Noto+Serif:400,400i,700,700i" type="text/css">
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" type="text/css">
@ -15,7 +15,7 @@
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
<div id="jsdoc-navbar-container">
<div id="jsdoc-navbar-content">
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>26.<wbr>1-alpha.<wbr>2</a>
</div>
</div>
</nav>
@ -110,7 +110,7 @@ class Chat extends Base {
* Last message fo chat
* @type {Message}
*/
this.lastMessage &#x3D; data.lastMessage ? new Message(super.client, data.lastMessage) : undefined;
this.lastMessage &#x3D; data.lastMessage ? new Message(this.client, data.lastMessage) : undefined;
return super._patch(data);
}
@ -301,6 +301,14 @@ class Chat extends Base {
async changeLabels(labelIds) {
return this.client.addOrRemoveLabels(labelIds, [this.id._serialized]);
}
/**
* Sync chat history conversation
* @return {Promise&amp;lt;boolean&gt;} True if operation completed successfully, false otherwise.
*/
async syncHistory() {
return this.client.syncHistory(this.id._serialized);
}
}
module.exports &#x3D; Chat;
@ -314,7 +322,7 @@ module.exports &#x3D; Chat;
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on October 4, 2024.
</p>
</div>
</footer>