chore(): generate docs
This commit is contained in:
parent
b296ea8d5a
commit
30b3f5e82e
77 changed files with 1732 additions and 368 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Base</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Base</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: BaseAuthStrategy</title>
|
<title>whatsapp-web.js 1.32.0 » Class: BaseAuthStrategy</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Broadcast</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Broadcast</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -152,7 +152,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: BusinessContact</title>
|
<title>whatsapp-web.js 1.32.0 » Class: BusinessContact</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -326,7 +326,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Buttons</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Buttons</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -234,7 +234,7 @@ Returns: [{ buttonId:'customId',buttonText:{'displayText':&#
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Call</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Call</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -168,7 +168,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Channel</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Channel</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -896,7 +896,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Chat</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Chat</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -117,6 +117,9 @@
|
||||||
<dt><a href="Chat.html#getLabels">getLabels()</a></dt>
|
<dt><a href="Chat.html#getLabels">getLabels()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Chat.html#getPinnedMessages">getPinnedMessages()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Chat.html#markUnread">markUnread()</a></dt>
|
<dt><a href="Chat.html#markUnread">markUnread()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -132,13 +135,13 @@
|
||||||
<dt><a href="Chat.html#sendSeen">sendSeen()</a></dt>
|
<dt><a href="Chat.html#sendSeen">sendSeen()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Chat.html#sendStateRecording">sendStateRecording()</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Chat.html#sendStateRecording">sendStateRecording()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Chat.html#sendStateTyping">sendStateTyping()</a></dt>
|
<dt><a href="Chat.html#sendStateTyping">sendStateTyping()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -394,6 +397,13 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
|
<h3 id="getPinnedMessages"><span class="symbol-name">getPinnedMessages</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
|
<p>Gets instances of all pinned messages in a chat</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="markUnread"><span class="symbol-name">markUnread</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
<h3 id="markUnread"><span class="symbol-name">markUnread</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
<p>Mark this chat as unread</p>
|
<p>Mark this chat as unread</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
|
|
@ -567,7 +577,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
448
docs/Client.html
448
docs/Client.html
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Client</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Client</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" type="text/css">
|
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" type="text/css">
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<div id="jsdoc-content-container">
|
<div id="jsdoc-content-container">
|
||||||
<div id="jsdoc-main" role="main">
|
<div id="jsdoc-main" role="main">
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<div class="symbol-detail-labels"><span class="label label-kind">class</span></div><h1><small></small><span class="symbol-name">Client</span></h1> <p class="source-link">Source: <a href="Client.js.html#source-line-63">Client.<wbr>js:63</a></p>
|
<div class="symbol-detail-labels"><span class="label label-kind">class</span></div><h1><small></small><span class="symbol-name">Client</span></h1> <p class="source-link">Source: <a href="Client.js.html#source-line-65">Client.<wbr>js:65</a></p>
|
||||||
<div class="symbol-classdesc">
|
<div class="symbol-classdesc">
|
||||||
<p>Starting point for interacting with the WhatsApp Web API</p>
|
<p>Starting point for interacting with the WhatsApp Web API</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -104,6 +104,9 @@
|
||||||
<dt><a href="Client.html#attachEventListeners">attachEventListeners()</a></dt>
|
<dt><a href="Client.html#attachEventListeners">attachEventListeners()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#createCallLink">createCallLink(startTime, callType)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#createChannel">createChannel(title, options)</a></dt>
|
<dt><a href="Client.html#createChannel">createChannel(title, options)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -163,6 +166,9 @@
|
||||||
<dt><a href="Client.html#getContactDeviceCount">getContactDeviceCount(userId)</a></dt>
|
<dt><a href="Client.html#getContactDeviceCount">getContactDeviceCount(userId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#getContactLidAndPhone">getContactLidAndPhone(userIds)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#getContacts">getContacts()</a></dt>
|
<dt><a href="Client.html#getContacts">getContacts()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -187,6 +193,9 @@
|
||||||
<dt><a href="Client.html#getNumberId">getNumberId(number)</a></dt>
|
<dt><a href="Client.html#getNumberId">getNumberId(number)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#getPinnedMessages">getPinnedMessages(chatId)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#getProfilePicUrl">getProfilePicUrl(contactId)</a></dt>
|
<dt><a href="Client.html#getProfilePicUrl">getProfilePicUrl(contactId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -220,20 +229,20 @@
|
||||||
<dt><a href="Client.html#rejectGroupMembershipRequests">rejectGroupMembershipRequests(groupId, options)</a></dt>
|
<dt><a href="Client.html#rejectGroupMembershipRequests">rejectGroupMembershipRequests(groupId, options)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#requestPairingCode">requestPairingCode(phoneNumber, showNotification)</a></dt>
|
<dt><a href="Client.html#requestPairingCode">requestPairingCode(phoneNumber[, showNotification][, intervalMs])</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#resetState">resetState()</a></dt>
|
<dt><a href="Client.html#resetState">resetState()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#revokeChannelAdminInvite">revokeChannelAdminInvite(channelId, userId)</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#revokeChannelAdminInvite">revokeChannelAdminInvite(channelId, userId)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#saveOrEditAddressbookContact">saveOrEditAddressbookContact(phoneNumber, firstName, lastName[, syncToAddressbook])</a></dt>
|
<dt><a href="Client.html#saveOrEditAddressbookContact">saveOrEditAddressbookContact(phoneNumber, firstName, lastName[, syncToAddressbook])</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -255,6 +264,9 @@
|
||||||
<dt><a href="Client.html#sendPresenceUnavailable">sendPresenceUnavailable()</a></dt>
|
<dt><a href="Client.html#sendPresenceUnavailable">sendPresenceUnavailable()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#sendResponseToScheduledEvent">sendResponseToScheduledEvent(response, eventMessageId)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#sendSeen">sendSeen(chatId)</a></dt>
|
<dt><a href="Client.html#sendSeen">sendSeen(chatId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -335,20 +347,23 @@
|
||||||
<dt><a href="Client.html#event:chat_removed">chat_removed</a></dt>
|
<dt><a href="Client.html#event:chat_removed">chat_removed</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#event:code">code</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#event:contact_changed">contact_changed</a></dt>
|
<dt><a href="Client.html#event:contact_changed">contact_changed</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#event:disconnected">disconnected</a></dt>
|
<dt><a href="Client.html#event:disconnected">disconnected</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#event:group_admin_changed">group_admin_changed</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#event:group_admin_changed">group_admin_changed</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#event:group_join">group_join</a></dt>
|
<dt><a href="Client.html#event:group_join">group_join</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -373,14 +388,14 @@
|
||||||
<dt><a href="Client.html#event:message_ack">message_ack</a></dt>
|
<dt><a href="Client.html#event:message_ack">message_ack</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Client.html#event:message_ciphertext">message_ciphertext</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#event:message_ciphertext">message_ciphertext</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#event:message_create">message_create</a></dt>
|
<dt><a href="Client.html#event:message_create">message_create</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -650,6 +665,36 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
<p>deviceName</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Sets the device name of a current linked device., i.e.: 'TEST'.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>browserName</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Sets the browser name of a current linked device, i.e.: 'Firefox'.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
<p>proxyAuthentication</p>
|
<p>proxyAuthentication</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
@ -1381,6 +1426,86 @@ Private function</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="createCallLink"><span class="symbol-name">createCallLink</span><span class="signature"><span class="signature-params">(startTime, callType)</span> → <span class="signature-returns"> Promise containing string</span></span></h3> <p>Generates a WhatsApp call link (video call or voice call)</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="jsdoc-details-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Optional</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>startTime</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Date</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The start time of the call</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>callType</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The type of a WhatsApp call link to generate, valid values are: <code>video</code> | <code>voice</code></p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="dl-compact">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd><p><code>Promise containing string</code> <p>The WhatsApp call link (https://call.whatsapp.com/video/XxXxXxXxXxXxXx) or an empty string if a generation failed.</p></p></dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2422,6 +2547,71 @@ So for a non-enterprise user with one WaWeb connection it should return "2&
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getContactLidAndPhone"><span class="symbol-name">getContactLidAndPhone</span><span class="signature"><span class="signature-params">(userIds)</span> → <span class="signature-returns"> Promise containing Array of {lid: string, pn: string}</span></span></h3> <p>Get lid and phone number for multiple users</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h4>Parameter</h4>
|
||||||
|
<table class="jsdoc-details-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Optional</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>userIds</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Array of string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Array of user IDs</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="dl-compact">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd><p><code>Promise containing Array of {lid: string, pn: string}</code> </p></dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getContacts"><span class="symbol-name">getContacts</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing Array of <a href="Contact.html">Contact</a></span></span></h3> <p>Get all current contact instances</p>
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getContacts"><span class="symbol-name">getContacts</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing Array of <a href="Contact.html">Contact</a></span></span></h3> <p>Get all current contact instances</p>
|
||||||
|
|
@ -2879,6 +3069,71 @@ Will return null if the number is not registered on WhatsApp.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getPinnedMessages"><span class="symbol-name">getPinnedMessages</span><span class="signature"><span class="signature-params">(chatId)</span></span></h3> <p>Gets instances of all pinned messages in a chat</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h4>Parameter</h4>
|
||||||
|
<table class="jsdoc-details-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Optional</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>chatId</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The chat ID</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="dl-compact">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getProfilePicUrl"><span class="symbol-name">getProfilePicUrl</span><span class="signature"><span class="signature-params">(contactId)</span> → <span class="signature-returns"> Promise containing string</span></span></h3> <p>Returns the contact ID's profile picture URL, if privacy settings allow it</p>
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="getProfilePicUrl"><span class="symbol-name">getProfilePicUrl</span><span class="signature"><span class="signature-params">(contactId)</span> → <span class="signature-returns"> Promise containing string</span></span></h3> <p>Returns the contact ID's profile picture URL, if privacy settings allow it</p>
|
||||||
|
|
@ -3434,7 +3689,7 @@ Private function</p>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="requestPairingCode"><span class="symbol-name">requestPairingCode</span><span class="signature"><span class="signature-params">(phoneNumber, showNotification)</span> → <span class="signature-returns"> Promise containing string</span></span></h3> <p>Request authentication via pairing code instead of QR code</p>
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="requestPairingCode"><span class="symbol-name">requestPairingCode</span><span class="signature"><span class="signature-params">(phoneNumber[, showNotification][, intervalMs])</span> → <span class="signature-returns"> Promise containing string</span></span></h3> <p>Request authentication via pairing code instead of QR code</p>
|
||||||
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -3472,7 +3727,7 @@ Private function</p>
|
||||||
<p>boolean</p>
|
<p>boolean</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p> </p>
|
<p>Yes</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Show notification to pair on phone number</p>
|
<p>Show notification to pair on phone number</p>
|
||||||
|
|
@ -3480,6 +3735,22 @@ Private function</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>intervalMs</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>number</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Yes</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The interval in milliseconds on how frequent to generate pairing code (WhatsApp default to 3 minutes)</p>
|
||||||
|
<p>Defaults to <code>180000</code>.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
@ -4287,6 +4558,86 @@ the lastMessage property of a found channel will be 'null'</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div><h3 id="sendResponseToScheduledEvent"><span class="symbol-name">sendResponseToScheduledEvent</span><span class="signature"><span class="signature-params">(response, eventMessageId)</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3> <p>Sends a response to the scheduled event message, indicating whether a user is going to attend the event or not</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="jsdoc-details-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Optional</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>response</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>number</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The response code to the scheduled event message. Valid values are: <code>0</code> for NONE response (removes a previous response) | <code>1</code> for GOING | <code>2</code> for NOT GOING | <code>3</code> for MAYBE going</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>eventMessageId</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The scheduled event message ID</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="dl-compact">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd><p><code>Promise containing boolean</code> </p></dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -5720,6 +6071,71 @@ Note: the user you are transferring the channel ownership to must be a channel a
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h3 id="event:code"><span class="symbol-name">code</span></h3> <p>Emitted when a pairing code is received</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h4>Parameter</h4>
|
||||||
|
<table class="jsdoc-details-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Optional</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>code</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Code</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="dl-compact">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd><p><code>string</code> <p>Code that was just received</p></p></dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -7383,7 +7799,7 @@ shows a user's current selected option(s) on the poll</p>
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Source: Client.js</title>
|
<title>whatsapp-web.js 1.32.0 » Source: Client.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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -46,7 +46,7 @@ const { LoadUtils } = require('./util/Injected/Utils');
|
||||||
const ChatFactory = require('./factories/ChatFactory');
|
const ChatFactory = require('./factories/ChatFactory');
|
||||||
const ContactFactory = require('./factories/ContactFactory');
|
const ContactFactory = require('./factories/ContactFactory');
|
||||||
const WebCacheFactory = require('./webCache/WebCacheFactory');
|
const WebCacheFactory = require('./webCache/WebCacheFactory');
|
||||||
const { Broadcast, Buttons, Call, ClientInfo, Contact, GroupNotification, Label, List, Location, Message, MessageMedia, Poll, PollVote, Reaction } = require('./structures');
|
const { ClientInfo, Message, MessageMedia, Contact, Location, Poll, PollVote, GroupNotification, Label, Call, Buttons, List, Reaction, Broadcast, ScheduledEvent } = require('./structures');
|
||||||
const NoAuth = require('./authStrategies/NoAuth');
|
const NoAuth = require('./authStrategies/NoAuth');
|
||||||
const {exposeFunctionIfAbsent} = require('./util/Puppeteer');
|
const {exposeFunctionIfAbsent} = require('./util/Puppeteer');
|
||||||
|
|
||||||
|
|
@ -67,6 +67,8 @@ const {exposeFunctionIfAbsent} = require('./util/Puppeteer');
|
||||||
* @param {string} options.userAgent - User agent to use in puppeteer
|
* @param {string} options.userAgent - User agent to use in puppeteer
|
||||||
* @param {string} options.ffmpegPath - Ffmpeg path to use when formatting videos to webp while sending stickers
|
* @param {string} options.ffmpegPath - Ffmpeg path to use when formatting videos to webp while sending stickers
|
||||||
* @param {boolean} options.bypassCSP - Sets bypassing of page's Content-Security-Policy.
|
* @param {boolean} options.bypassCSP - Sets bypassing of page's Content-Security-Policy.
|
||||||
|
* @param {string} options.deviceName - Sets the device name of a current linked device., i.e.: 'TEST'.
|
||||||
|
* @param {string} options.browserName - Sets the browser name of a current linked device, i.e.: 'Firefox'.
|
||||||
* @param {object} options.proxyAuthentication - Proxy Authentication object.
|
* @param {object} options.proxyAuthentication - Proxy Authentication object.
|
||||||
*
|
*
|
||||||
* @fires Client#qr
|
* @fires Client#qr
|
||||||
|
|
@ -125,7 +127,8 @@ class Client extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
async inject() {
|
async inject() {
|
||||||
await this.pupPage.waitForFunction('window.Debug?.VERSION != undefined', {timeout: this.options.authTimeoutMs});
|
await this.pupPage.waitForFunction('window.Debug?.VERSION != undefined', {timeout: this.options.authTimeoutMs});
|
||||||
|
await this.setDeviceName(this.options.deviceName, this.options.browserName);
|
||||||
|
const pairWithPhoneNumber = this.options.pairWithPhoneNumber;
|
||||||
const version = await this.getWWebVersion();
|
const version = await this.getWWebVersion();
|
||||||
const isCometOrAbove = parseInt(version.split('.')?.[1]) >= 3000;
|
const isCometOrAbove = parseInt(version.split('.')?.[1]) >= 3000;
|
||||||
|
|
||||||
|
|
@ -171,7 +174,20 @@ class Client extends EventEmitter {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register qr events
|
// Register qr/code events
|
||||||
|
if (pairWithPhoneNumber.phoneNumber) {
|
||||||
|
await exposeFunctionIfAbsent(this.pupPage, 'onCodeReceivedEvent', async (code) => {
|
||||||
|
/**
|
||||||
|
* Emitted when a pairing code is received
|
||||||
|
* @event Client#code
|
||||||
|
* @param {string} code Code
|
||||||
|
* @returns {string} Code that was just received
|
||||||
|
*/
|
||||||
|
this.emit(Events.CODE_RECEIVED, code);
|
||||||
|
return code;
|
||||||
|
});
|
||||||
|
this.requestPairingCode(pairWithPhoneNumber.phoneNumber, pairWithPhoneNumber.showNotification, pairWithPhoneNumber.intervalMs);
|
||||||
|
} else {
|
||||||
let qrRetries = 0;
|
let qrRetries = 0;
|
||||||
await exposeFunctionIfAbsent(this.pupPage, 'onQRChangedEvent', async (qr) => {
|
await exposeFunctionIfAbsent(this.pupPage, 'onQRChangedEvent', async (qr) => {
|
||||||
/**
|
/**
|
||||||
|
|
@ -203,9 +219,10 @@ class Client extends EventEmitter {
|
||||||
window.AuthStore.Conn.on('change:ref', (_, ref) => { window.onQRChangedEvent(getQR(ref)); }); // future QR changes
|
window.AuthStore.Conn.on('change:ref', (_, ref) => { window.onQRChangedEvent(getQR(ref)); }); // future QR changes
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
await exposeFunctionIfAbsent(this.pupPage, 'onAuthAppStateChangedEvent', async (state) => {
|
await exposeFunctionIfAbsent(this.pupPage, 'onAuthAppStateChangedEvent', async (state) => {
|
||||||
if (state == 'UNPAIRED_IDLE') {
|
if (state == 'UNPAIRED_IDLE' &amp;&amp; !pairWithPhoneNumber.phoneNumber) {
|
||||||
// refresh qr code
|
// refresh qr code
|
||||||
window.Store.Cmd.refreshQR();
|
window.Store.Cmd.refreshQR();
|
||||||
}
|
}
|
||||||
|
|
@ -374,15 +391,32 @@ class Client extends EventEmitter {
|
||||||
/**
|
/**
|
||||||
* Request authentication via pairing code instead of QR code
|
* Request authentication via pairing code instead of QR code
|
||||||
* @param {string} phoneNumber - Phone number in international, symbol-free format (e.g. 12025550108 for US, 551155501234 for Brazil)
|
* @param {string} phoneNumber - Phone number in international, symbol-free format (e.g. 12025550108 for US, 551155501234 for Brazil)
|
||||||
* @param {boolean} showNotification - Show notification to pair on phone number
|
* @param {boolean} [showNotification = true] - Show notification to pair on phone number
|
||||||
|
* @param {number} [intervalMs = 180000] - The interval in milliseconds on how frequent to generate pairing code (WhatsApp default to 3 minutes)
|
||||||
* @returns {Promise&lt;string>} - Returns a pairing code in format "ABCDEFGH"
|
* @returns {Promise&lt;string>} - Returns a pairing code in format "ABCDEFGH"
|
||||||
*/
|
*/
|
||||||
async requestPairingCode(phoneNumber, showNotification = true) {
|
async requestPairingCode(phoneNumber, showNotification = true, intervalMs = 180000) {
|
||||||
return await this.pupPage.evaluate(async (phoneNumber, showNotification) => {
|
return await this.pupPage.evaluate(async (phoneNumber, showNotification, intervalMs) => {
|
||||||
|
const getCode = async () => {
|
||||||
|
while (!window.AuthStore.PairingCodeLinkUtils) {
|
||||||
|
await new Promise(resolve => setTimeout(resolve, 250));
|
||||||
|
}
|
||||||
window.AuthStore.PairingCodeLinkUtils.setPairingType('ALT_DEVICE_LINKING');
|
window.AuthStore.PairingCodeLinkUtils.setPairingType('ALT_DEVICE_LINKING');
|
||||||
await window.AuthStore.PairingCodeLinkUtils.initializeAltDeviceLinking();
|
await window.AuthStore.PairingCodeLinkUtils.initializeAltDeviceLinking();
|
||||||
return window.AuthStore.PairingCodeLinkUtils.startAltLinkingFlow(phoneNumber, showNotification);
|
return window.AuthStore.PairingCodeLinkUtils.startAltLinkingFlow(phoneNumber, showNotification);
|
||||||
}, phoneNumber, showNotification);
|
};
|
||||||
|
if (window.codeInterval) {
|
||||||
|
clearInterval(window.codeInterval); // remove existing interval
|
||||||
|
}
|
||||||
|
window.codeInterval = setInterval(async () => {
|
||||||
|
if (window.AuthStore.AppState.state != 'UNPAIRED' &amp;&amp; window.AuthStore.AppState.state != 'UNPAIRED_IDLE') {
|
||||||
|
clearInterval(window.codeInterval);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
window.onCodeReceivedEvent(await getCode());
|
||||||
|
}, intervalMs);
|
||||||
|
return window.onCodeReceivedEvent(await getCode());
|
||||||
|
}, phoneNumber, showNotification, intervalMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -844,6 +878,19 @@ class Client extends EventEmitter {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async setDeviceName(deviceName, browserName) {
|
||||||
|
(deviceName || browserName) &amp;&amp; await this.pupPage.evaluate((deviceName, browserName) => {
|
||||||
|
const func = window.require('WAWebMiscBrowserUtils').info;
|
||||||
|
window.require('WAWebMiscBrowserUtils').info = () => {
|
||||||
|
return {
|
||||||
|
...func(),
|
||||||
|
...(deviceName ? { os: deviceName } : {}),
|
||||||
|
...(browserName ? { name: browserName } : {})
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}, deviceName, browserName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mark as seen for the Chat
|
* Mark as seen for the Chat
|
||||||
* @param {string} chatId
|
* @param {string} chatId
|
||||||
|
|
@ -954,6 +1001,9 @@ class Client extends EventEmitter {
|
||||||
} else if (content instanceof Poll) {
|
} else if (content instanceof Poll) {
|
||||||
internalOptions.poll = content;
|
internalOptions.poll = content;
|
||||||
content = '';
|
content = '';
|
||||||
|
} else if (content instanceof ScheduledEvent) {
|
||||||
|
internalOptions.event = content;
|
||||||
|
content = '';
|
||||||
} else if (content instanceof Contact) {
|
} else if (content instanceof Contact) {
|
||||||
internalOptions.contactCard = content.id._serialized;
|
internalOptions.contactCard = content.id._serialized;
|
||||||
content = '';
|
content = '';
|
||||||
|
|
@ -1158,6 +1208,29 @@ class Client extends EventEmitter {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets instances of all pinned messages in a chat
|
||||||
|
* @param {string} chatId The chat ID
|
||||||
|
* @returns {Promise&lt;[Message]|[]>}
|
||||||
|
*/
|
||||||
|
async getPinnedMessages(chatId) {
|
||||||
|
const pinnedMsgs = await this.pupPage.evaluate(async (chatId) => {
|
||||||
|
const chatWid = window.Store.WidFactory.createWid(chatId);
|
||||||
|
const chat = window.Store.Chat.get(chatWid) ?? await window.Store.Chat.find(chatWid);
|
||||||
|
if (!chat) return [];
|
||||||
|
|
||||||
|
const msgs = await window.Store.PinnedMsgUtils.getTable().equals(['chatId'], chatWid.toString());
|
||||||
|
|
||||||
|
const pinnedMsgs = msgs.map((msg) => window.Store.Msg.get(msg.parentMsgKey));
|
||||||
|
|
||||||
|
return !pinnedMsgs.length
|
||||||
|
? []
|
||||||
|
: pinnedMsgs.map((msg) => window.WWebJS.getMessageModel(msg));
|
||||||
|
}, chatId);
|
||||||
|
|
||||||
|
return pinnedMsgs.map((msg) => new Message(this, msg));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an object with information about the invite code's group
|
* Returns an object with information about the invite code's group
|
||||||
* @param {string} inviteCode
|
* @param {string} inviteCode
|
||||||
|
|
@ -1559,6 +1632,10 @@ class Client extends EventEmitter {
|
||||||
* @property {string|undefined} parentGroupId The ID of a parent community group to link the newly created group with (won't take an effect if the group is been creating with myself only)
|
* @property {string|undefined} parentGroupId The ID of a parent community group to link the newly created group with (won't take an effect if the group is been creating with myself only)
|
||||||
* @property {boolean} [autoSendInviteV4 = true] If true, the inviteV4 will be sent to those participants who have restricted others from being automatically added to groups, otherwise the inviteV4 won't be sent (true by default)
|
* @property {boolean} [autoSendInviteV4 = true] If true, the inviteV4 will be sent to those participants who have restricted others from being automatically added to groups, otherwise the inviteV4 won't be sent (true by default)
|
||||||
* @property {string} [comment = ''] The comment to be added to an inviteV4 (empty string by default)
|
* @property {string} [comment = ''] The comment to be added to an inviteV4 (empty string by default)
|
||||||
|
* @property {boolean} [memberAddMode = false] If true, only admins can add members to the group (false by default)
|
||||||
|
* @property {boolean} [membershipApprovalMode = false] If true, group admins will be required to approve anyone who wishes to join the group (false by default)
|
||||||
|
* @property {boolean} [isRestrict = true] If true, only admins can change group group info (true by default)
|
||||||
|
* @property {boolean} [isAnnounce = false] If true, only admins can send messages (false by default)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -1573,7 +1650,12 @@ class Client extends EventEmitter {
|
||||||
participants.map(p => (p instanceof Contact) ? p.id._serialized : p);
|
participants.map(p => (p instanceof Contact) ? p.id._serialized : p);
|
||||||
|
|
||||||
return await this.pupPage.evaluate(async (title, participants, options) => {
|
return await this.pupPage.evaluate(async (title, participants, options) => {
|
||||||
const { messageTimer = 0, parentGroupId, autoSendInviteV4 = true, comment = '' } = options;
|
const {
|
||||||
|
messageTimer = 0,
|
||||||
|
parentGroupId,
|
||||||
|
autoSendInviteV4 = true,
|
||||||
|
comment = '',
|
||||||
|
} = options;
|
||||||
const participantData = {}, participantWids = [], failedParticipants = [];
|
const participantData = {}, participantWids = [], failedParticipants = [];
|
||||||
let createGroupResult, parentGroupWid;
|
let createGroupResult, parentGroupWid;
|
||||||
|
|
||||||
|
|
@ -1586,7 +1668,9 @@ class Client extends EventEmitter {
|
||||||
|
|
||||||
for (const participant of participants) {
|
for (const participant of participants) {
|
||||||
const pWid = window.Store.WidFactory.createWid(participant);
|
const pWid = window.Store.WidFactory.createWid(participant);
|
||||||
if ((await window.Store.QueryExist(pWid))?.wid) participantWids.push(pWid);
|
if ((await window.Store.QueryExist(pWid))?.wid) {
|
||||||
|
participantWids.push({ phoneNumber: pWid });
|
||||||
|
}
|
||||||
else failedParticipants.push(participant);
|
else failedParticipants.push(participant);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1595,14 +1679,13 @@ class Client extends EventEmitter {
|
||||||
try {
|
try {
|
||||||
createGroupResult = await window.Store.GroupUtils.createGroup(
|
createGroupResult = await window.Store.GroupUtils.createGroup(
|
||||||
{
|
{
|
||||||
'memberAddMode': options.memberAddMode === undefined ? true : options.memberAddMode,
|
'addressingModeOverride': 'lid',
|
||||||
'membershipApprovalMode': options.membershipApprovalMode === undefined ? false : options.membershipApprovalMode,
|
'memberAddMode': options.memberAddMode ?? false,
|
||||||
'announce': options.announce === undefined ? true : options.announce,
|
'membershipApprovalMode': options.membershipApprovalMode ?? false,
|
||||||
|
'announce': options.announce ?? false,
|
||||||
|
'restrict': options.isRestrict !== undefined ? !options.isRestrict : false,
|
||||||
'ephemeralDuration': messageTimer,
|
'ephemeralDuration': messageTimer,
|
||||||
'full': undefined,
|
|
||||||
'parentGroupId': parentGroupWid,
|
'parentGroupId': parentGroupWid,
|
||||||
'restrict': options.restrict === undefined ? true : options.restrict,
|
|
||||||
'thumb': undefined,
|
|
||||||
'title': title,
|
'title': title,
|
||||||
},
|
},
|
||||||
participantWids
|
participantWids
|
||||||
|
|
@ -1613,13 +1696,14 @@ class Client extends EventEmitter {
|
||||||
|
|
||||||
for (const participant of createGroupResult.participants) {
|
for (const participant of createGroupResult.participants) {
|
||||||
let isInviteV4Sent = false;
|
let isInviteV4Sent = false;
|
||||||
|
participant.wid.server == 'lid' &amp;&amp; (participant.wid = window.Store.LidUtils.getPhoneNumber(participant.wid));
|
||||||
const participantId = participant.wid._serialized;
|
const participantId = participant.wid._serialized;
|
||||||
const statusCode = participant.error || 200;
|
const statusCode = participant.error || 200;
|
||||||
|
|
||||||
if (autoSendInviteV4 &amp;&amp; statusCode === 403) {
|
if (autoSendInviteV4 &amp;&amp; statusCode === 403) {
|
||||||
window.Store.Contact.gadd(participant.wid, { silent: true });
|
window.Store.Contact.gadd(participant.wid, { silent: true });
|
||||||
const addParticipantResult = await window.Store.GroupInviteV4.sendGroupInviteMessage(
|
const addParticipantResult = await window.Store.GroupInviteV4.sendGroupInviteMessage(
|
||||||
await window.Store.Chat.find(participant.wid),
|
window.Store.Chat.get(participant.wid) || await window.Store.Chat.find(participant.wid),
|
||||||
createGroupResult.wid._serialized,
|
createGroupResult.wid._serialized,
|
||||||
createGroupResult.subject,
|
createGroupResult.subject,
|
||||||
participant.invite_code,
|
participant.invite_code,
|
||||||
|
|
@ -1627,9 +1711,7 @@ class Client extends EventEmitter {
|
||||||
comment,
|
comment,
|
||||||
await window.WWebJS.getProfilePicThumbToBase64(createGroupResult.wid)
|
await window.WWebJS.getProfilePicThumbToBase64(createGroupResult.wid)
|
||||||
);
|
);
|
||||||
isInviteV4Sent = window.compareWwebVersions(window.Debug.VERSION, '&lt;', '2.2335.6')
|
isInviteV4Sent = addParticipantResult.messageSendResult === 'OK';
|
||||||
? addParticipantResult === 'OK'
|
|
||||||
: addParticipantResult.messageSendResult === 'OK';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
participantData[participantId] = {
|
participantData[participantId] = {
|
||||||
|
|
@ -2179,6 +2261,45 @@ class Client extends EventEmitter {
|
||||||
}, chatId);
|
}, chatId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generates a WhatsApp call link (video call or voice call)
|
||||||
|
* @param {Date} startTime The start time of the call
|
||||||
|
* @param {string} callType The type of a WhatsApp call link to generate, valid values are: `video` | `voice`
|
||||||
|
* @returns {Promise&lt;string>} The WhatsApp call link (https://call.whatsapp.com/video/XxXxXxXxXxXxXx) or an empty string if a generation failed.
|
||||||
|
*/
|
||||||
|
async createCallLink(startTime, callType) {
|
||||||
|
if (!['video', 'voice'].includes(callType)) {
|
||||||
|
throw new class CreateCallLinkError extends Error {
|
||||||
|
constructor(m) { super(m); }
|
||||||
|
}('Invalid \'callType\' parameter value is provided. Valid values are: \'voice\' | \'video\'.');
|
||||||
|
}
|
||||||
|
|
||||||
|
startTime = Math.floor(startTime.getTime() / 1000);
|
||||||
|
|
||||||
|
return await this.pupPage.evaluate(async (startTimeTs, callType) => {
|
||||||
|
const response = await window.Store.ScheduledEventMsgUtils.createEventCallLink(startTimeTs, callType);
|
||||||
|
return response ?? '';
|
||||||
|
}, startTime, callType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends a response to the scheduled event message, indicating whether a user is going to attend the event or not
|
||||||
|
* @param {number} response The response code to the scheduled event message. Valid values are: `0` for NONE response (removes a previous response) | `1` for GOING | `2` for NOT GOING | `3` for MAYBE going
|
||||||
|
* @param {string} eventMessageId The scheduled event message ID
|
||||||
|
* @returns {Promise&lt;boolean>}
|
||||||
|
*/
|
||||||
|
async sendResponseToScheduledEvent(response, eventMessageId) {
|
||||||
|
if (![0, 1, 2, 3].includes(response)) return false;
|
||||||
|
|
||||||
|
return await this.pupPage.evaluate(async (response, msgId) => {
|
||||||
|
const eventMsg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
|
if (!eventMsg) return false;
|
||||||
|
|
||||||
|
await window.Store.ScheduledEventMsgUtils.sendEventResponseMsg(response, eventMsg);
|
||||||
|
return true;
|
||||||
|
}, response, eventMessageId);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save new contact to user's addressbook or edit the existing one
|
* Save new contact to user's addressbook or edit the existing one
|
||||||
* @param {string} phoneNumber The contact's phone number in a format "17182222222", where "1" is a country code
|
* @param {string} phoneNumber The contact's phone number in a format "17182222222", where "1" is a country code
|
||||||
|
|
@ -2211,6 +2332,28 @@ class Client extends EventEmitter {
|
||||||
return await window.Store.AddressbookContactUtils.deleteContactAction(phoneNumber);
|
return await window.Store.AddressbookContactUtils.deleteContactAction(phoneNumber);
|
||||||
}, phoneNumber);
|
}, phoneNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get lid and phone number for multiple users
|
||||||
|
* @param {string[]} userIds - Array of user IDs
|
||||||
|
* @returns {Promise&lt;Array&lt;{ lid: string, pn: string }>>}
|
||||||
|
*/
|
||||||
|
async getContactLidAndPhone(userIds) {
|
||||||
|
return await this.pupPage.evaluate((userIds) => {
|
||||||
|
!Array.isArray(userIds) &amp;&amp; (userIds = [userIds]);
|
||||||
|
return userIds.map(userId => {
|
||||||
|
const wid = window.Store.WidFactory.createWid(userId);
|
||||||
|
const isLid = wid.server === 'lid';
|
||||||
|
const lid = isLid ? wid : window.Store.LidUtils.getCurrentLid(wid);
|
||||||
|
const phone = isLid ? window.Store.LidUtils.getPhoneNumber(wid) : wid;
|
||||||
|
|
||||||
|
return {
|
||||||
|
lid: lid._serialized,
|
||||||
|
pn: phone._serialized
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}, userIds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Client;
|
module.exports = Client;
|
||||||
|
|
@ -2224,7 +2367,7 @@ module.exports = Client;
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: ClientInfo</title>
|
<title>whatsapp-web.js 1.32.0 » Class: ClientInfo</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -242,7 +242,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Contact</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Contact</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -293,7 +293,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: GroupChat</title>
|
<title>whatsapp-web.js 1.32.0 » Class: GroupChat</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -137,14 +137,17 @@
|
||||||
<dt><a href="GroupChat.html#getGroupMembershipRequests">getGroupMembershipRequests()</a></dt>
|
<dt><a href="GroupChat.html#getGroupMembershipRequests">getGroupMembershipRequests()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="GroupChat.html#getInviteCode">getInviteCode()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
<dt><a href="GroupChat.html#getInviteCode">getInviteCode()</a></dt>
|
<dt><a href="GroupChat.html#getLabels">getLabels()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="GroupChat.html#getLabels">getLabels()</a></dt>
|
<dt><a href="GroupChat.html#getPinnedMessages">getPinnedMessages()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="GroupChat.html#leave">leave()</a></dt>
|
<dt><a href="GroupChat.html#leave">leave()</a></dt>
|
||||||
|
|
@ -177,13 +180,13 @@
|
||||||
<dt><a href="GroupChat.html#sendSeen">sendSeen()</a></dt>
|
<dt><a href="GroupChat.html#sendSeen">sendSeen()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="GroupChat.html#sendStateRecording">sendStateRecording()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
<dt><a href="GroupChat.html#sendStateRecording">sendStateRecording()</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><a href="GroupChat.html#sendStateTyping">sendStateTyping()</a></dt>
|
<dt><a href="GroupChat.html#sendStateTyping">sendStateTyping()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -668,6 +671,15 @@
|
||||||
<dd></dd>
|
<dd></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
|
<h3 id="getPinnedMessages"><span class="symbol-name">getPinnedMessages</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
|
<p>Gets instances of all pinned messages in a chat</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Inherited from</dt>
|
||||||
|
<dd><a href="Chat.html#getPinnedMessages">Chat#getPinnedMessages</a></dd>
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="leave"><span class="symbol-name">leave</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise</span></span></h3>
|
<h3 id="leave"><span class="symbol-name">leave</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise</span></span></h3>
|
||||||
<p>Makes the bot leave the group</p>
|
<p>Makes the bot leave the group</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
|
|
@ -1225,7 +1237,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: GroupNotification</title>
|
<title>whatsapp-web.js 1.32.0 » Class: GroupNotification</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -233,7 +233,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: InterfaceController</title>
|
<title>whatsapp-web.js 1.32.0 » Class: InterfaceController</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -382,7 +382,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Label</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Label</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -163,7 +163,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: List</title>
|
<title>whatsapp-web.js 1.32.0 » Class: List</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -256,7 +256,7 @@ Returns: [{'title':'sectionTitle','rows':[{'r
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: LocalAuth</title>
|
<title>whatsapp-web.js 1.32.0 » Class: LocalAuth</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: LocalWebCache</title>
|
<title>whatsapp-web.js 1.32.0 » Class: LocalWebCache</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="JSDoc 3.6.11">
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>whatsapp-web.js 1.31.1-alpha.0 » Class: Location</title>
|
<title>whatsapp-web.js 1.32.0 » Class: Location</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/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/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" 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">
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
<div id="jsdoc-navbar-container">
|
<div id="jsdoc-navbar-container">
|
||||||
<div id="jsdoc-navbar-content">
|
<div id="jsdoc-navbar-content">
|
||||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>31.<wbr>1-alpha.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>32.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -173,7 +173,7 @@
|
||||||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
<div id="jsdoc-footer-container">
|
<div id="jsdoc-footer-container">
|
||||||
<p>
|
<p>
|
||||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on June 30, 2025.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on August 8, 2025.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue