chore(): generate docs

This commit is contained in:
WWebJS Bot 2025-05-30 17:29:26 +00:00
commit f41d1e2174
73 changed files with 684 additions and 291 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.28.0 &raquo; Source: structures/Chat.js</title>
<title>whatsapp-web.js 1.28.1-alpha.0 &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>28.<wbr>0</a>
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>28.<wbr>1-alpha.<wbr>0</a>
</div>
</div>
</nav>
@ -126,7 +126,7 @@ class Chat extends Base {
}
/**
* Set the message as seen
* Set the chat as seen
* @returns {Promise&amp;lt;Boolean&gt;} result
*/
async sendSeen() {
@ -185,17 +185,25 @@ class Chat extends Base {
/**
* Mutes this chat forever, unless a date is specified
* @param {?Date} unmuteDate Date at which the Chat will be unmuted, leave as is to mute forever
* @param {?Date} unmuteDate Date when the chat will be unmuted, don&#x27;t provide a value to mute forever
* @returns {Promise&amp;lt;{isMuted: boolean, muteExpiration: number}&gt;}
*/
async mute(unmuteDate) {
return this.client.muteChat(this.id._serialized, unmuteDate);
const result &#x3D; await this.client.muteChat(this.id._serialized, unmuteDate);
this.isMuted &#x3D; result.isMuted;
this.muteExpiration &#x3D; result.muteExpiration;
return result;
}
/**
* Unmutes this chat
* @returns {Promise&amp;lt;{isMuted: boolean, muteExpiration: number}&gt;}
*/
async unmute() {
return this.client.unmuteChat(this.id._serialized);
const result &#x3D; await this.client.unmuteChat(this.id._serialized);
this.isMuted &#x3D; result.isMuted;
this.muteExpiration &#x3D; result.muteExpiration;
return result;
}
/**
@ -322,7 +330,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 May 12, 2025.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on May 30, 2025.
</p>
</div>
</footer>