chore(): generate docs

This commit is contained in:
WWebJS Bot 2025-11-06 19:30:13 +00:00
commit 28a2d3630c
76 changed files with 890 additions and 313 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.34.1 &raquo; Source: structures/Chat.js</title>
<title>whatsapp-web.js 1.34.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>34.<wbr>1</a>
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>34.<wbr>2</a>
</div>
</div>
</nav>
@ -325,6 +325,36 @@ class Chat extends Base {
async syncHistory() {
return this.client.syncHistory(this.id._serialized);
}
/**
* Add or edit a customer note
* @see https://faq.whatsapp.com/1433099287594476
* @param {string} note The note to add
* @returns {Promise&amp;lt;void&gt;}
*/
async addOrEditCustomerNote(note) {
if (this.isGroup || this.isChannel) return;
return this.client.addOrEditCustomerNote(this.id._serialized, note);
}
/**
* Get a customer note
* @see https://faq.whatsapp.com/1433099287594476
* @returns {Promise&amp;lt;{
* chatId: string,
* content: string,
* createdAt: number,
* id: string,
* modifiedAt: number,
* type: string
* }&gt;}
*/
async getCustomerNote() {
if (this.isGroup || this.isChannel) return null;
return this.client.getCustomerNote(this.id._serialized);
}
}
module.exports &#x3D; Chat;
@ -338,7 +368,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 10, 2025.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on November 6, 2025.
</p>
</div>
</footer>