docs: generate docs for the latest release (#3279)
* docs: generate docs for the latest release * docs: mark version v1.26.0 * docs: mark WWeb version v2.3000.1016590837
This commit is contained in:
parent
d2597bba72
commit
01c45047d2
74 changed files with 3898 additions and 891 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="https://www.npmjs.com/package/whatsapp-web.js"><img src="https://img.shields.io/npm/v/whatsapp-web.js.svg" alt="npm" /></a>
|
<a href="https://www.npmjs.com/package/whatsapp-web.js"><img src="https://img.shields.io/npm/v/whatsapp-web.js.svg" alt="npm" /></a>
|
||||||
<a href="https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765"><img src="https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg" alt="Depfu" /></a>
|
<a href="https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765"><img src="https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg" alt="Depfu" /></a>
|
||||||
<img src="https://img.shields.io/badge/WhatsApp_Web-2.2346.52-brightgreen.svg" alt="WhatsApp_Web 2.2346.52" />
|
<img src="https://img.shields.io/badge/WhatsApp_Web-2.3000.1016590837-brightgreen.svg" alt="WhatsApp_Web 2.2346.52" />
|
||||||
<a href="https://discord.gg/H7DqQs4"><img src="https://img.shields.io/discord/698610475432411196.svg?logo=discord" alt="Discord server" /></a>
|
<a href="https://discord.gg/H7DqQs4"><img src="https://img.shields.io/discord/698610475432411196.svg?logo=discord" alt="Discord server" /></a>
|
||||||
</p>
|
</p>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
||||||
|
|
@ -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.23.0 » Class: Base</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: BaseAuthStrategy</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: BusinessContact</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Buttons</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Call</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Chat</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -545,7 +545,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
432
docs/Client.html
432
docs/Client.html
|
|
@ -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.23.0 » Class: Client</title>
|
<title>whatsapp-web.js 1.26.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">
|
||||||
|
|
@ -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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<div class="symbol-detail-labels"><span class="label label-kind">class</span></div>
|
<div class="symbol-detail-labels"><span class="label label-kind">class</span></div>
|
||||||
<h1><small></small><span class="symbol-name">Client</span></h1>
|
<h1><small></small><span class="symbol-name">Client</span></h1>
|
||||||
<p class="source-link">Source: <a href="Client.js.html#source-line-56">Client.<wbr>js:56</a></p>
|
<p class="source-link">Source: <a href="Client.js.html#source-line-62">Client.<wbr>js:62</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>
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
</header>
|
</header>
|
||||||
<section id="summary">
|
<section id="summary">
|
||||||
<div class="summary-callout">
|
<div class="summary-callout">
|
||||||
<h2 class="summary-callout-heading">Property</h2>
|
<h2 class="summary-callout-heading">Properties</h2>
|
||||||
<div class="summary-content">
|
<div class="summary-content">
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
<dl class="dl-summary-callout">
|
<dl class="dl-summary-callout">
|
||||||
|
|
@ -45,8 +45,18 @@
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#pupBrowser">pupBrowser</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="summary-column">
|
<div class="summary-column">
|
||||||
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#pupPage">pupPage</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -70,6 +80,9 @@
|
||||||
<dt><a href="Client.html#archiveChat">archiveChat()</a></dt>
|
<dt><a href="Client.html#archiveChat">archiveChat()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#attachEventListeners">attachEventListeners()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#createGroup">createGroup(title, participants, options)</a></dt>
|
<dt><a href="Client.html#createGroup">createGroup(title, participants, options)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -100,13 +113,16 @@
|
||||||
<dt><a href="Client.html#getContactById">getContactById(contactId)</a></dt>
|
<dt><a href="Client.html#getContactById">getContactById(contactId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#getContactDeviceCount">getContactDeviceCount(contactId)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="Client.html#getContacts">getContacts()</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#getContacts">getContacts()</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><a href="Client.html#getCountryCode">getCountryCode(number)</a></dt>
|
<dt><a href="Client.html#getCountryCode">getCountryCode(number)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -140,6 +156,9 @@
|
||||||
<dt><a href="Client.html#initialize">initialize()</a></dt>
|
<dt><a href="Client.html#initialize">initialize()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#inject">inject()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#isRegisteredUser">isRegisteredUser(id)</a></dt>
|
<dt><a href="Client.html#isRegisteredUser">isRegisteredUser(id)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -149,10 +168,6 @@
|
||||||
<dt><a href="Client.html#markChatUnread">markChatUnread(chatId)</a></dt>
|
<dt><a href="Client.html#markChatUnread">markChatUnread(chatId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div class="summary-column">
|
|
||||||
<dl class="dl-summary-callout">
|
|
||||||
<dt><a href="Client.html#muteChat">muteChat(chatId, unmuteDate)</a></dt>
|
<dt><a href="Client.html#muteChat">muteChat(chatId, unmuteDate)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -162,6 +177,13 @@
|
||||||
<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>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div class="summary-column">
|
||||||
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="Client.html#requestPairingCode">requestPairingCode(phoneNumber, showNotification)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#resetState">resetState()</a></dt>
|
<dt><a href="Client.html#resetState">resetState()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -180,6 +202,18 @@
|
||||||
<dt><a href="Client.html#sendSeen">sendSeen(chatId)</a></dt>
|
<dt><a href="Client.html#sendSeen">sendSeen(chatId)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#setAutoDownloadAudio">setAutoDownloadAudio(flag)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="Client.html#setAutoDownloadDocuments">setAutoDownloadDocuments(flag)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="Client.html#setAutoDownloadPhotos">setAutoDownloadPhotos(flag)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="Client.html#setAutoDownloadVideos">setAutoDownloadVideos(flag)</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Client.html#setDisplayName">setDisplayName(displayName)</a></dt>
|
<dt><a href="Client.html#setDisplayName">setDisplayName(displayName)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -231,13 +265,13 @@
|
||||||
<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>
|
||||||
|
|
@ -259,13 +293,16 @@
|
||||||
<dt><a href="Client.html#event:message">message</a></dt>
|
<dt><a href="Client.html#event:message">message</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#event:message_ack">message_ack</a></dt>
|
||||||
|
<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_ack">message_ack</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>
|
||||||
|
|
@ -287,6 +324,9 @@
|
||||||
<dt><a href="Client.html#event:ready">ready</a></dt>
|
<dt><a href="Client.html#event:ready">ready</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Client.html#event:vote_update">vote_update</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -494,7 +534,7 @@
|
||||||
<p> </p>
|
<p> </p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Ffmpeg path to use when formating videos to webp while sending stickers</p>
|
<p>Ffmpeg path to use when formatting videos to webp while sending stickers</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -545,6 +585,8 @@
|
||||||
<dd><a href="Client.html#event:message_create">Client#event:message_create</a></dd>
|
<dd><a href="Client.html#event:message_create">Client#event:message_create</a></dd>
|
||||||
<dd><a href="Client.html#event:message_revoke_me">Client#event:message_revoke_me</a></dd>
|
<dd><a href="Client.html#event:message_revoke_me">Client#event:message_revoke_me</a></dd>
|
||||||
<dd><a href="Client.html#event:message_revoke_everyone">Client#event:message_revoke_everyone</a></dd>
|
<dd><a href="Client.html#event:message_revoke_everyone">Client#event:message_revoke_everyone</a></dd>
|
||||||
|
<dd><a href="Client.html#event:message_ciphertext">Client#event:message_ciphertext</a></dd>
|
||||||
|
<dd><a href="Client.html#event:message_edit">Client#event:message_edit</a></dd>
|
||||||
<dd><a href="Client.html#event:media_uploaded">Client#event:media_uploaded</a></dd>
|
<dd><a href="Client.html#event:media_uploaded">Client#event:media_uploaded</a></dd>
|
||||||
<dd><a href="Client.html#event:group_join">Client#event:group_join</a></dd>
|
<dd><a href="Client.html#event:group_join">Client#event:group_join</a></dd>
|
||||||
<dd><a href="Client.html#event:group_leave">Client#event:group_leave</a></dd>
|
<dd><a href="Client.html#event:group_leave">Client#event:group_leave</a></dd>
|
||||||
|
|
@ -554,16 +596,25 @@
|
||||||
<dd><a href="Client.html#event:contact_changed">Client#event:contact_changed</a></dd>
|
<dd><a href="Client.html#event:contact_changed">Client#event:contact_changed</a></dd>
|
||||||
<dd><a href="Client.html#event:group_admin_changed">Client#event:group_admin_changed</a></dd>
|
<dd><a href="Client.html#event:group_admin_changed">Client#event:group_admin_changed</a></dd>
|
||||||
<dd><a href="Client.html#event:group_membership_request">Client#event:group_membership_request</a></dd>
|
<dd><a href="Client.html#event:group_membership_request">Client#event:group_membership_request</a></dd>
|
||||||
|
<dd><a href="Client.html#event:vote_update">Client#event:vote_update</a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Property</h2>
|
<h2>Properties</h2>
|
||||||
<section>
|
<section>
|
||||||
<h3 id="info"><span class="symbol-name">info</span><small class="property-type">
|
<h3 id="info"><span class="symbol-name">info</span><small class="property-type">
|
||||||
<a href="ClientInfo.html">ClientInfo</a></small></h3>
|
<a href="ClientInfo.html">ClientInfo</a></small></h3>
|
||||||
<p>Current connection information</p>
|
<p>Current connection information</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="pupBrowser"><span class="symbol-name">pupBrowser</span><small class="property-type">
|
||||||
|
puppeteer.Browser</small></h3>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="pupPage"><span class="symbol-name">pupPage</span><small class="property-type">
|
||||||
|
puppeteer.Page</small></h3>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
<h2>Methods</h2>
|
<h2>Methods</h2>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -759,6 +810,41 @@
|
||||||
</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="attachEventListeners"><span class="symbol-name">attachEventListeners</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
|
<p>Attach event listeners to WA Web
|
||||||
|
Private function</p>
|
||||||
|
<section>
|
||||||
|
<h4>Property</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>reinject</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>is this a reinject?</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="createGroup"><span class="symbol-name">createGroup</span><span class="signature"><span class="signature-params">(title, participants, options)</span> → <span class="signature-returns"> Promise containing (<a href="global.html#CreateGroupResult">CreateGroupResult</a> or string)</span></span></h3>
|
<h3 id="createGroup"><span class="symbol-name">createGroup</span><span class="signature"><span class="signature-params">(title, participants, options)</span> → <span class="signature-returns"> Promise containing (<a href="global.html#CreateGroupResult">CreateGroupResult</a> or string)</span></span></h3>
|
||||||
<p>Creates a new group</p>
|
<p>Creates a new group</p>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -1047,6 +1133,45 @@
|
||||||
</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="getContactDeviceCount"><span class="symbol-name">getContactDeviceCount</span><span class="signature"><span class="signature-params">(contactId)</span> → <span class="signature-returns"> number</span></span></h3>
|
||||||
|
<p>Get user device count by ID
|
||||||
|
Each WaWeb Connection counts as one device, and the phone (if exists) counts as one
|
||||||
|
So for a non-enterprise user with one WaWeb connection it should return "2"</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>contactId</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd>
|
||||||
|
<p><code>number</code> </p>
|
||||||
|
</dd>
|
||||||
|
</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>
|
<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>
|
<p>Get all current contact instances</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
|
|
@ -1357,6 +1482,41 @@
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</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="inject"><span class="symbol-name">inject</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
|
<p>Injection logic
|
||||||
|
Private function</p>
|
||||||
|
<section>
|
||||||
|
<h4>Property</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>reinject</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>is this a reinject?</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="isRegisteredUser"><span class="symbol-name">isRegisteredUser</span><span class="signature"><span class="signature-params">(id)</span> → <span class="signature-returns"> Promise containing Boolean</span></span></h3>
|
<h3 id="isRegisteredUser"><span class="symbol-name">isRegisteredUser</span><span class="signature"><span class="signature-params">(id)</span> → <span class="signature-returns"> Promise containing Boolean</span></span></h3>
|
||||||
<p>Check if a given ID is registered in whatsapp</p>
|
<p>Check if a given ID is registered in whatsapp</p>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -1548,6 +1708,63 @@
|
||||||
</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="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>
|
||||||
|
<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>phoneNumber</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Phone number in international, symbol-free format (e.g. 12025550108 for US, 551155501234 for Brazil)</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>showNotification</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Show notification to pair on phone number</p>
|
||||||
|
<p>Defaults to <code>true</code>.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd>
|
||||||
|
<p><code>Promise containing string</code>
|
||||||
|
<ul>
|
||||||
|
</p>
|
||||||
|
<li>Returns a pairing code in format "ABCDEFGH"</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="resetState"><span class="symbol-name">resetState</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
<h3 id="resetState"><span class="symbol-name">resetState</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
<p>Force reset of connection state for the client</p>
|
<p>Force reset of connection state for the client</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
|
|
@ -1770,6 +1987,142 @@
|
||||||
</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="setAutoDownloadAudio"><span class="symbol-name">setAutoDownloadAudio</span><span class="signature"><span class="signature-params">(flag)</span></span></h3>
|
||||||
|
<p>Setting autoload download audio</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>flag</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>true/false</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
|
<h3 id="setAutoDownloadDocuments"><span class="symbol-name">setAutoDownloadDocuments</span><span class="signature"><span class="signature-params">(flag)</span></span></h3>
|
||||||
|
<p>Setting autoload download documents</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>flag</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>true/false</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
|
<h3 id="setAutoDownloadPhotos"><span class="symbol-name">setAutoDownloadPhotos</span><span class="signature"><span class="signature-params">(flag)</span></span></h3>
|
||||||
|
<p>Setting autoload download photos</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>flag</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>true/false</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
|
<h3 id="setAutoDownloadVideos"><span class="symbol-name">setAutoDownloadVideos</span><span class="signature"><span class="signature-params">(flag)</span></span></h3>
|
||||||
|
<p>Setting autoload download videos</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>flag</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>true/false</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="setDisplayName"><span class="symbol-name">setDisplayName</span><span class="signature"><span class="signature-params">(displayName)</span> → <span class="signature-returns"> Promise containing Boolean</span></span></h3>
|
<h3 id="setDisplayName"><span class="symbol-name">setDisplayName</span><span class="signature"><span class="signature-params">(displayName)</span> → <span class="signature-returns"> Promise containing Boolean</span></span></h3>
|
||||||
<p>Sets the current user's display name.
|
<p>Sets the current user's display name.
|
||||||
This is the name shown to WhatsApp users that have not added you as a contact beside your number in groups and in your profile.</p>
|
This is the name shown to WhatsApp users that have not added you as a contact beside your number in groups and in your profile.</p>
|
||||||
|
|
@ -2267,7 +2620,7 @@
|
||||||
<p>reason</p>
|
<p>reason</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>(<a href="global.html#WAState">WAState</a> or "NAVIGATION")</p>
|
<p>(<a href="global.html#WAState">WAState</a> or "LOGOUT")</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
@ -2772,6 +3125,38 @@
|
||||||
</section>
|
</section>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="event:message_ciphertext"><span class="symbol-name">message_ciphertext</span></h3>
|
||||||
|
<p>Emitted when messages are edited</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>message</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p><a href="Message.html">Message</a></p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
<h3 id="event:message_create"><span class="symbol-name">message_create</span></h3>
|
<h3 id="event:message_create"><span class="symbol-name">message_create</span></h3>
|
||||||
<p>Emitted when a new message is created, which may include the current user's own messages.</p>
|
<p>Emitted when a new message is created, which may include the current user's own messages.</p>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -3155,6 +3540,11 @@
|
||||||
<p>Emitted when the client has initialized and is ready to receive messages.</p>
|
<p>Emitted when the client has initialized and is ready to receive messages.</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="event:vote_update"><span class="symbol-name">vote_update</span></h3>
|
||||||
|
<p>Emitted when some poll option is selected or deselected,
|
||||||
|
shows a user's current selected option(s) on the poll</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -3165,7 +3555,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
1317
docs/Client.js.html
1317
docs/Client.js.html
File diff suppressed because it is too large
Load diff
|
|
@ -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.23.0 » Class: ClientInfo</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Contact</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: GroupChat</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -187,6 +187,9 @@
|
||||||
<dt><a href="GroupChat.html#sendStateTyping">sendStateTyping()</a></dt>
|
<dt><a href="GroupChat.html#sendStateTyping">sendStateTyping()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="GroupChat.html#setAddMembersAdminsOnly">setAddMembersAdminsOnly([adminsOnly])</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="GroupChat.html#setDescription">setDescription(description)</a></dt>
|
<dt><a href="GroupChat.html#setDescription">setDescription(description)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -930,6 +933,47 @@
|
||||||
<dd><a href="Chat.html#sendStateTyping">Chat#sendStateTyping</a></dd>
|
<dd><a href="Chat.html#sendStateTyping">Chat#sendStateTyping</a></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="setAddMembersAdminsOnly"><span class="symbol-name">setAddMembersAdminsOnly</span><span class="signature"><span class="signature-params">([adminsOnly])</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3>
|
||||||
|
<p>Updates the group setting to allow only admins to add members to the group.</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>adminsOnly</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>boolean</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Yes</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Enable or disable this option</p>
|
||||||
|
<p>Defaults to <code>true</code>.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd>
|
||||||
|
<p><code>Promise containing boolean</code>
|
||||||
|
<p>Returns true if the setting was properly updated. This can return false if the user does not have the necessary permissions.</p>
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="setDescription"><span class="symbol-name">setDescription</span><span class="signature"><span class="signature-params">(description)</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3>
|
<h3 id="setDescription"><span class="symbol-name">setDescription</span><span class="signature"><span class="signature-params">(description)</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3>
|
||||||
<p>Updates the group description</p>
|
<p>Updates the group description</p>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -1163,7 +1207,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: GroupNotification</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: InterfaceController</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Label</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: List</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: LocalAuth</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: LocalWebCache</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Location</title>
|
<title>whatsapp-web.js 1.26.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Message</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Message</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -66,6 +66,9 @@
|
||||||
<dt><a href="Message.html#fromMe">fromMe</a></dt>
|
<dt><a href="Message.html#fromMe">fromMe</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Message.html#groupMentions">groupMentions</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Message.html#hasMedia">hasMedia</a></dt>
|
<dt><a href="Message.html#hasMedia">hasMedia</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -103,13 +106,13 @@
|
||||||
<dt><a href="Message.html#links">links</a></dt>
|
<dt><a href="Message.html#links">links</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Message.html#location">location</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="Message.html#location">location</a></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><a href="Message.html#mediaKey">mediaKey</a></dt>
|
<dt><a href="Message.html#mediaKey">mediaKey</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -164,11 +167,14 @@
|
||||||
<dt><a href="Message.html#getChat">getChat()</a></dt>
|
<dt><a href="Message.html#getChat">getChat()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Message.html#getContact">getContact()</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="Message.html#getContact">getContact()</a></dt>
|
<dt><a href="Message.html#getGroupMentions">getGroupMentions()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Message.html#getInfo">getInfo()</a></dt>
|
<dt><a href="Message.html#getInfo">getInfo()</a></dt>
|
||||||
|
|
@ -186,11 +192,14 @@
|
||||||
<dt><a href="Message.html#getQuotedMessage">getQuotedMessage()</a></dt>
|
<dt><a href="Message.html#getQuotedMessage">getQuotedMessage()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Message.html#getReactions">getReactions()</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="Message.html#getReactions">getReactions()</a></dt>
|
<dt><a href="Message.html#pin">pin(duration)</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="Message.html#react">react(reaction)</a></dt>
|
<dt><a href="Message.html#react">react(reaction)</a></dt>
|
||||||
|
|
@ -205,6 +214,9 @@
|
||||||
<dt><a href="Message.html#star">star()</a></dt>
|
<dt><a href="Message.html#star">star()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="Message.html#unpin">unpin()</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="Message.html#unstar">unstar()</a></dt>
|
<dt><a href="Message.html#unstar">unstar()</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -269,6 +281,11 @@
|
||||||
<p>Indicates if the message was sent by the current user</p>
|
<p>Indicates if the message was sent by the current user</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="groupMentions"><span class="symbol-name">groupMentions</span><small class="property-type">
|
||||||
|
Array of <a href="global.html#GroupMention">GroupMention</a></small></h3>
|
||||||
|
<p>Indicates whether there are group mentions in the message body</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
<h3 id="hasMedia"><span class="symbol-name">hasMedia</span><small class="property-type">
|
<h3 id="hasMedia"><span class="symbol-name">hasMedia</span><small class="property-type">
|
||||||
boolean</small></h3>
|
boolean</small></h3>
|
||||||
<p>Indicates if the message has media available for download</p>
|
<p>Indicates if the message has media available for download</p>
|
||||||
|
|
@ -335,7 +352,7 @@
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
<h3 id="mentionedIds"><span class="symbol-name">mentionedIds</span><small class="property-type">
|
<h3 id="mentionedIds"><span class="symbol-name">mentionedIds</span><small class="property-type">
|
||||||
Array of string</small></h3>
|
Array of <a href="global.html#Mention">Mention</a></small></h3>
|
||||||
<p>Indicates the mentions in the message body.</p>
|
<p>Indicates the mentions in the message body.</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
|
@ -538,8 +555,16 @@
|
||||||
</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="getGroupMentions"><span class="symbol-name">getGroupMentions</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
|
<p>Returns groups mentioned in this message</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="getInfo"><span class="symbol-name">getInfo</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing nullable <a href="global.html#MessageInfo">MessageInfo</a></span></span></h3>
|
<h3 id="getInfo"><span class="symbol-name">getInfo</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing nullable <a href="global.html#MessageInfo">MessageInfo</a></span></span></h3>
|
||||||
<p>Get information about message delivery status. May return null if the message does not exist or is not sent by you.</p>
|
<p>Get information about message delivery status.
|
||||||
|
May return null if the message does not exist or is not sent by you.</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
<dt>Returns</dt>
|
<dt>Returns</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
@ -592,6 +617,46 @@
|
||||||
</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="pin"><span class="symbol-name">pin</span><span class="signature"><span class="signature-params">(duration)</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3>
|
||||||
|
<p>Pins the message (group admins can pin messages of all group members)</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>duration</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>number</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The duration in seconds the message will be pinned in a chat</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd>
|
||||||
|
<p><code>Promise containing boolean</code>
|
||||||
|
<p>Returns true if the operation completed successfully, false otherwise</p>
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="react"><span class="symbol-name">react</span><span class="signature"><span class="signature-params">(reaction)</span> → <span class="signature-returns"> Promise</span></span></h3>
|
<h3 id="react"><span class="symbol-name">react</span><span class="signature"><span class="signature-params">(reaction)</span> → <span class="signature-returns"> Promise</span></span></h3>
|
||||||
<p>React to this message with an emoji</p>
|
<p>React to this message with an emoji</p>
|
||||||
<section>
|
<section>
|
||||||
|
|
@ -710,6 +775,17 @@
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</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="unpin"><span class="symbol-name">unpin</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing boolean</span></span></h3>
|
||||||
|
<p>Unpins the message (group admins can unpin messages of all group members)</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Returns</dt>
|
||||||
|
<dd>
|
||||||
|
<p><code>Promise containing boolean</code>
|
||||||
|
<p>Returns true if the operation completed successfully, false otherwise</p>
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-async">async</span></div>
|
||||||
<h3 id="unstar"><span class="symbol-name">unstar</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
<h3 id="unstar"><span class="symbol-name">unstar</span><span class="signature"><span class="signature-params">()</span></span></h3>
|
||||||
<p>Unstars this message</p>
|
<p>Unstars this message</p>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
|
|
@ -724,7 +800,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: MessageMedia</title>
|
<title>whatsapp-web.js 1.26.0 » Class: MessageMedia</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -364,7 +364,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: NoAuth</title>
|
<title>whatsapp-web.js 1.26.0 » Class: NoAuth</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -51,7 +51,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Order</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Order</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -102,7 +102,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Poll</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Poll</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -148,7 +148,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
119
docs/PollVote.html
Normal file
119
docs/PollVote.html
Normal file
|
|
@ -0,0 +1,119 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>whatsapp-web.js 1.26.0 » Class: PollVote</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">
|
||||||
|
<link href="css/baseline.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="prettyPrint()">
|
||||||
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
|
<div id="jsdoc-navbar-container">
|
||||||
|
<div id="jsdoc-navbar-content">
|
||||||
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<div id="jsdoc-body-container">
|
||||||
|
<div id="jsdoc-content">
|
||||||
|
<div id="jsdoc-content-container">
|
||||||
|
<div id="jsdoc-main" role="main">
|
||||||
|
<header class="page-header">
|
||||||
|
<div class="symbol-detail-labels"><span class="label label-kind">class</span></div>
|
||||||
|
<h1><small></small><span class="symbol-name">PollVote</span></h1>
|
||||||
|
<p class="source-link">Source: <a href="structures_PollVote.js.html#source-line-17">structures/<wbr>PollVote.<wbr>js:17</a></p>
|
||||||
|
<div class="symbol-classdesc">
|
||||||
|
<p>Represents a Poll Vote on WhatsApp</p>
|
||||||
|
</div>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
</header>
|
||||||
|
<section id="summary">
|
||||||
|
<div class="summary-callout">
|
||||||
|
<h2 class="summary-callout-heading">Properties</h2>
|
||||||
|
<div class="summary-content">
|
||||||
|
<div class="summary-column">
|
||||||
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="PollVote.html#interractedAtTs">interractedAtTs</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="PollVote.html#parentMessage">parentMessage</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div class="summary-column">
|
||||||
|
<dl class="dl-summary-callout">
|
||||||
|
<dt><a href="PollVote.html#selectedOptions">selectedOptions</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="PollVote.html#voter">voter</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div class="summary-column">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h2 id="PollVote">new <span class="symbol-name">PollVote</span><span class="signature"><span class="signature-params">()</span></span></h2>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
<dt>Extends</dt>
|
||||||
|
<dd><a href="Base.html">Base</a></dd>
|
||||||
|
</dl>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h2>Properties</h2>
|
||||||
|
<section>
|
||||||
|
<h3 id="interractedAtTs"><span class="symbol-name">interractedAtTs</span><small class="property-type">
|
||||||
|
number</small></h3>
|
||||||
|
<p>Timestamp the option was selected or deselected at</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="parentMessage"><span class="symbol-name">parentMessage</span><small class="property-type">
|
||||||
|
<a href="Message.html">Message</a></small></h3>
|
||||||
|
<p>The poll creation message associated with the poll vote</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="selectedOptions"><span class="symbol-name">selectedOptions</span><small class="property-type">
|
||||||
|
Array of <a href="global.html#SelectedPollOption">SelectedPollOption</a></small></h3>
|
||||||
|
<p>The selected poll option(s)
|
||||||
|
If it's an empty array, the user hasn't selected any options on the poll,
|
||||||
|
may occur when they deselected all poll options</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="voter"><span class="symbol-name">voter</span><small class="property-type">
|
||||||
|
string</small></h3>
|
||||||
|
<p>The person who voted</p>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<nav id="jsdoc-toc-nav" role="navigation"></nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
|
<div id="jsdoc-footer-container">
|
||||||
|
<p>
|
||||||
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="scripts/jquery.min.js"></script>
|
||||||
|
<script src="scripts/tree.jquery.js"></script>
|
||||||
|
<script src="scripts/prettify.js"></script>
|
||||||
|
<script src="scripts/jsdoc-toc.js"></script>
|
||||||
|
<script src="scripts/linenumber.js"></script>
|
||||||
|
<script src="scripts/scrollanchor.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -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.23.0 » Class: PrivateChat</title>
|
<title>whatsapp-web.js 1.26.0 » Class: PrivateChat</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -583,7 +583,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: PrivateContact</title>
|
<title>whatsapp-web.js 1.26.0 » Class: PrivateContact</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -319,7 +319,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Product</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Product</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -127,7 +127,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Reaction</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Reaction</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -144,7 +144,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: RemoteAuth</title>
|
<title>whatsapp-web.js 1.26.0 » Class: RemoteAuth</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -148,7 +148,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: RemoteWebCache</title>
|
<title>whatsapp-web.js 1.26.0 » Class: RemoteWebCache</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: Util</title>
|
<title>whatsapp-web.js 1.26.0 » Class: Util</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -243,7 +243,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Class: WebCache</title>
|
<title>whatsapp-web.js 1.26.0 » Class: WebCache</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: authStrategies/BaseAuthStrategy.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: authStrategies/BaseAuthStrategy.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -65,7 +65,7 @@ module.exports = BaseAuthStrategy;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: authStrategies/LocalAuth.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: authStrategies/LocalAuth.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -75,7 +75,10 @@ class LocalAuth extends BaseAuthStrategy {
|
||||||
|
|
||||||
async logout() {
|
async logout() {
|
||||||
if (this.userDataDir) {
|
if (this.userDataDir) {
|
||||||
return (fs.rmSync ? fs.rmSync : fs.rmdirSync).call(this, this.userDataDir, { recursive: true, force: true });
|
await fs.promises.rm(this.userDataDir, { recursive: true, force: true })
|
||||||
|
.catch((e) => {
|
||||||
|
throw new Error(e);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -92,7 +95,7 @@ module.exports = LocalAuth;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: authStrategies/NoAuth.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: authStrategies/NoAuth.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -50,7 +50,7 @@ module.exports = NoAuth;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: authStrategies/RemoteAuth.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: authStrategies/RemoteAuth.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -243,7 +243,7 @@ module.exports = RemoteAuth;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
390
docs/global.html
390
docs/global.html
|
|
@ -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.23.0 » Globals</title>
|
<title>whatsapp-web.js 1.26.0 » Globals</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -92,11 +92,17 @@
|
||||||
<dt><a href="global.html#GroupMembershipRequest">GroupMembershipRequest</a></dt>
|
<dt><a href="global.html#GroupMembershipRequest">GroupMembershipRequest</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="global.html#GroupMembershipRequest">GroupMembershipRequest</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="global.html#GroupMembershipRequest">GroupMembershipRequest</a></dt>
|
<dt><a href="global.html#GroupMention">GroupMention</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt><a href="global.html#GroupMention">GroupMention</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="global.html#GroupParticipant">GroupParticipant</a></dt>
|
<dt><a href="global.html#GroupParticipant">GroupParticipant</a></dt>
|
||||||
|
|
@ -117,13 +123,16 @@
|
||||||
<dt><a href="global.html#MembershipRequestActionResult">MembershipRequestActionResult</a></dt>
|
<dt><a href="global.html#MembershipRequestActionResult">MembershipRequestActionResult</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="global.html#MessageInfo">MessageInfo</a></dt>
|
<dt><a href="global.html#Mention">Mention</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</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="global.html#MessageInfo">MessageInfo</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="global.html#MessageSendOptions">MessageSendOptions</a></dt>
|
<dt><a href="global.html#MessageSendOptions">MessageSendOptions</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
@ -136,12 +145,18 @@
|
||||||
<dt><a href="global.html#ReactionList">ReactionList</a></dt>
|
<dt><a href="global.html#ReactionList">ReactionList</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="global.html#SelectedPollOption">SelectedPollOption</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt><a href="global.html#StickerMetadata">StickerMetadata</a></dt>
|
<dt><a href="global.html#StickerMetadata">StickerMetadata</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a href="global.html#TargetOptions">TargetOptions</a></dt>
|
<dt><a href="global.html#TargetOptions">TargetOptions</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><a href="global.html#TargetOptions">TargetOptions</a></dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -304,6 +319,19 @@
|
||||||
<td>
|
<td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>MESSAGE_CIPHERTEXT</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>MESSAGE_CREATE</p>
|
<p>MESSAGE_CREATE</p>
|
||||||
|
|
@ -577,6 +605,19 @@
|
||||||
<td>
|
<td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>VOTE_UPDATE</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -2213,6 +2254,153 @@
|
||||||
</section>
|
</section>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="GroupMention"><span class="symbol-name">GroupMention</span><small class="property-type">
|
||||||
|
Object</small></h3>
|
||||||
|
<p>An object representing mentions of groups</p>
|
||||||
|
<section>
|
||||||
|
<h4>Properties</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>subject</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The name of a group to mention (can be custom)</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>id</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The group ID, e.g.: 'XXXXXXXXXX@g.us'</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="GroupMention"><span class="symbol-name">GroupMention</span><small class="property-type">
|
||||||
|
Object</small></h3>
|
||||||
|
<section>
|
||||||
|
<h4>Properties</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>groupSubject</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The name of the group</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>groupJid</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Object</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The group ID</p>
|
||||||
|
<p>Values in <code>groupJid</code> have the following properties:</p>
|
||||||
|
<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>server</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>user</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>_serialized</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
<h3 id="GroupParticipant"><span class="symbol-name">GroupParticipant</span><small class="property-type">
|
<h3 id="GroupParticipant"><span class="symbol-name">GroupParticipant</span><small class="property-type">
|
||||||
Object</small></h3>
|
Object</small></h3>
|
||||||
<p>Group participant information</p>
|
<p>Group participant information</p>
|
||||||
|
|
@ -2554,6 +2742,64 @@
|
||||||
</section>
|
</section>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="Mention"><span class="symbol-name">Mention</span><small class="property-type">
|
||||||
|
Object</small></h3>
|
||||||
|
<section>
|
||||||
|
<h4>Properties</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>server</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>user</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>_serialized</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
<h3 id="MessageInfo"><span class="symbol-name">MessageInfo</span><small class="property-type">
|
<h3 id="MessageInfo"><span class="symbol-name">MessageInfo</span><small class="property-type">
|
||||||
Object</small></h3>
|
Object</small></h3>
|
||||||
<p>Message Info</p>
|
<p>Message Info</p>
|
||||||
|
|
@ -2808,16 +3054,30 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>mentions</p>
|
<p>groupMentions</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Array of <a href="Contact.html">Contact</a></p>
|
<p>Array of <a href="global.html#GroupMention">GroupMention</a></p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Yes</p>
|
<p>Yes</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Contacts that are being mentioned in the message</p>
|
<p>An array of object that handle group mentions</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>mentions</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Array of string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Yes</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>User IDs to mention in the message</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -2835,6 +3095,20 @@
|
||||||
<p>Defaults to <code>true</code>.</p>
|
<p>Defaults to <code>true</code>.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>invokedBotWid</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Yes</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>Bot Wid when doing a bot mention like @Meta AI</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>stickerAuthor</p>
|
<p>stickerAuthor</p>
|
||||||
|
|
@ -3098,6 +3372,54 @@
|
||||||
</section>
|
</section>
|
||||||
<dl class="dl-compact">
|
<dl class="dl-compact">
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="SelectedPollOption"><span class="symbol-name">SelectedPollOption</span><small class="property-type">
|
||||||
|
Object</small></h3>
|
||||||
|
<p>Selected poll option structure</p>
|
||||||
|
<section>
|
||||||
|
<h4>Properties</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>id</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>number</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The local selected or deselected option ID</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>name</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The option name</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
<h3 id="StickerMetadata"><span class="symbol-name">StickerMetadata</span><small class="property-type">
|
<h3 id="StickerMetadata"><span class="symbol-name">StickerMetadata</span><small class="property-type">
|
||||||
Object</small></h3>
|
Object</small></h3>
|
||||||
<p>Sticker metadata.</p>
|
<p>Sticker metadata.</p>
|
||||||
|
|
@ -3174,7 +3496,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>moduleId</p>
|
<p>module</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>(string or number)</p>
|
<p>(string or number)</p>
|
||||||
|
|
@ -3202,7 +3524,55 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>property</p>
|
<p>function</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>string</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The function name to get from a module</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
<dl class="dl-compact">
|
||||||
|
</dl>
|
||||||
|
<h3 id="TargetOptions"><span class="symbol-name">TargetOptions</span><small class="property-type">
|
||||||
|
Object</small></h3>
|
||||||
|
<p>Target options object description</p>
|
||||||
|
<section>
|
||||||
|
<h4>Properties</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>module</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>(string or number)</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p> </p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>The target module</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>function</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>string</p>
|
<p>string</p>
|
||||||
|
|
@ -3229,7 +3599,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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
320
docs/index.html
320
docs/index.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.23.0 » Home</title>
|
<title>whatsapp-web.js 1.26.0 » Home</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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -26,25 +26,64 @@
|
||||||
<div id="jsdoc-main" role="main">
|
<div id="jsdoc-main" role="main">
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1>
|
<h1>
|
||||||
whatsapp-web.js 1.23.0
|
whatsapp-web.js 1.26.0
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<article><p><a href="https://www.npmjs.com/package/whatsapp-web.js"><img src="https://img.shields.io/npm/v/whatsapp-web.js.svg" alt="npm"></a> <a href="https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765"><img src="https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg" alt="Depfu"></a> <img src="https://img.shields.io/badge/WhatsApp_Web-2.2346.52-brightgreen.svg" alt="WhatsApp_Web 2.2346.52"> <a href="https://discord.gg/H7DqQs4"><img src="https://img.shields.io/discord/698610475432411196.svg?logo=discord" alt="Discord Chat"></a></p>
|
<article><div align="center">
|
||||||
<h1>whatsapp-web.js</h1>
|
<br />
|
||||||
<p>A WhatsApp API client that connects through the WhatsApp Web browser app</p>
|
<p>
|
||||||
<p>It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocked.</p>
|
<a href="https://wwebjs.dev"><img src="https://github.com/wwebjs/logos/blob/main/4_Full%20Logo%20Lockup_Small/small_banner_blue.png?raw=true" title="whatsapp-web.js" alt="WWebJS Website" width="500" /></a>
|
||||||
<p><strong>NOTE:</strong> I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.</p>
|
</p>
|
||||||
<h2>Quick Links</h2>
|
<br />
|
||||||
|
<p>
|
||||||
|
<a href="https://www.npmjs.com/package/whatsapp-web.js"><img src="https://img.shields.io/npm/v/whatsapp-web.js.svg" alt="npm" /></a>
|
||||||
|
<a href="https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765"><img src="https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg" alt="Depfu" /></a>
|
||||||
|
<img src="https://img.shields.io/badge/WhatsApp_Web-2.2346.52-brightgreen.svg" alt="WhatsApp_Web 2.2346.52" />
|
||||||
|
<a href="https://discord.gg/H7DqQs4"><img src="https://img.shields.io/discord/698610475432411196.svg?logo=discord" alt="Discord server" /></a>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
<h2>About</h2>
|
||||||
|
<p><strong>A WhatsApp API client that connects through the WhatsApp Web browser app</strong></p>
|
||||||
|
<p>The library works by launching the WhatsApp Web browser application and managing it using Puppeteer to create an instance of WhatsApp Web, thereby mitigating the risk of being blocked. The WhatsApp API client connects through the WhatsApp Web browser app, accessing its internal functions. This grants you access to nearly all the features available on WhatsApp Web, enabling dynamic handling similar to any other Node.js application.</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>[!IMPORTANT]
|
||||||
|
<strong>It is not guaranteed you will not be blocked by using this method. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.</strong></p>
|
||||||
|
</blockquote>
|
||||||
|
<h2>Links</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://wwebjs.dev/guide">Guide / Getting Started</a> <em>(work in progress)</em></li>
|
<li><a href="https://wwebjs.dev">Website</a></li>
|
||||||
<li><a href="https://docs.wwebjs.dev/">Reference documentation</a></li>
|
<li><a href="https://guide.wwebjs.dev/guide">Guide</a> (<a href="https://github.com/wwebjs/wwebjs.dev/tree/main">source</a>) <em>(work in progress)</em></li>
|
||||||
|
<li><a href="https://docs.wwebjs.dev/">Documentation</a> (<a href="https://github.com/pedroslopez/whatsapp-web.js/tree/main/docs">source</a>)</li>
|
||||||
|
<li><a href="https://discord.gg/H7DqQs4">WWebJS Discord</a></li>
|
||||||
<li><a href="https://github.com/pedroslopez/whatsapp-web.js">GitHub</a></li>
|
<li><a href="https://github.com/pedroslopez/whatsapp-web.js">GitHub</a></li>
|
||||||
<li><a href="https://npmjs.org/package/whatsapp-web.js">npm</a></li>
|
<li><a href="https://npmjs.org/package/whatsapp-web.js">npm</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2>Installation</h2>
|
<h2>Installation</h2>
|
||||||
<p>The module is now available on npm! <code>npm i whatsapp-web.js</code></p>
|
<p>The module is now available on npm! <code>npm i whatsapp-web.js</code></p>
|
||||||
<p>Please note that Node v12+ is required.</p>
|
<blockquote>
|
||||||
|
<p>[!NOTE]
|
||||||
|
<strong>Node <code>v18+</code> is required.</strong></p>
|
||||||
|
</blockquote>
|
||||||
|
<h2>QUICK STEPS TO UPGRADE NODE</h2>
|
||||||
|
<h3>Windows</h3>
|
||||||
|
<h4>Manual</h4>
|
||||||
|
<p>Just get the latest LTS from the <a href="https://nodejs.org/en/download/">official node website</a>.</p>
|
||||||
|
<h4>npm</h4>
|
||||||
|
<pre class="prettyprint source lang-powershell"><code>sudo npm install -g n
|
||||||
|
sudo n stable
|
||||||
|
</code></pre>
|
||||||
|
<h4>Choco</h4>
|
||||||
|
<pre class="prettyprint source lang-powershell"><code>choco install nodejs-lts
|
||||||
|
</code></pre>
|
||||||
|
<h4>Winget</h4>
|
||||||
|
<pre class="prettyprint source lang-powershell"><code>winget install OpenJS.NodeJS.LTS
|
||||||
|
</code></pre>
|
||||||
|
<h3>Ubuntu / Debian</h3>
|
||||||
|
<pre class="prettyprint source lang-bash"><code>curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
|
||||||
|
sudo apt-get install -y nodejs
|
||||||
|
</code></pre>
|
||||||
<h2>Example usage</h2>
|
<h2>Example usage</h2>
|
||||||
<pre class="prettyprint source lang-js"><code>const { Client } = require('whatsapp-web.js');
|
<pre class="prettyprint source lang-js"><code>const { Client } = require('whatsapp-web.js');
|
||||||
|
|
||||||
|
|
@ -67,8 +106,8 @@ client.on('message', msg => {
|
||||||
|
|
||||||
client.initialize();
|
client.initialize();
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>Take a look at <a href="https://github.com/pedroslopez/whatsapp-web.js/blob/master/example.js">example.js</a> for another example with more use cases.</p>
|
<p>Take a look at <a href="https://github.com/pedroslopez/whatsapp-web.js/blob/master/example.js">example.js</a> for another examples with additional use cases.<br>
|
||||||
<p>For more information on saving and restoring sessions, check out the available <a href="https://wwebjs.dev/guide/authentication.html">Authentication Strategies</a>.</p>
|
For further details on saving and restoring sessions, explore the provided <a href="https://wwebjs.dev/guide/creating-your-bot/authentication.html">Authentication Strategies</a>.</p>
|
||||||
<h2>Supported features</h2>
|
<h2>Supported features</h2>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -96,7 +135,7 @@ client.initialize();
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Send media (video)</td>
|
<td>Send media (video)</td>
|
||||||
<td>✅ <a href="https://wwebjs.dev/guide/handling-attachments.html#caveat-for-sending-videos-and-gifs">(requires google chrome)</a></td>
|
<td>✅ <a href="https://wwebjs.dev/guide/creating-your-bot/handling-attachments.html#caveat-for-sending-videos-and-gifs">(requires Google Chrome)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Send stickers</td>
|
<td>Send stickers</td>
|
||||||
|
|
@ -116,11 +155,11 @@ client.initialize();
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Send buttons</td>
|
<td>Send buttons</td>
|
||||||
<td>✅</td>
|
<td>❌ <a href="https://www.youtube.com/watch?v=hv1R1rLeVVE">(DEPRECATED)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Send lists</td>
|
<td>Send lists</td>
|
||||||
<td>✅ (business accounts not supported)</td>
|
<td>❌ <a href="https://www.youtube.com/watch?v=hv1R1rLeVVE">(DEPRECATED)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Receive location</td>
|
<td>Receive location</td>
|
||||||
|
|
@ -163,6 +202,10 @@ client.initialize();
|
||||||
<td>✅</td>
|
<td>✅</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>Mention groups</td>
|
||||||
|
<td>✅</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>Mute/unmute chats</td>
|
<td>Mute/unmute chats</td>
|
||||||
<td>✅</td>
|
<td>✅</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -186,11 +229,27 @@ client.initialize();
|
||||||
<td>React to messages</td>
|
<td>React to messages</td>
|
||||||
<td>✅</td>
|
<td>✅</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Create polls</td>
|
||||||
|
<td>✅</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Vote in polls</td>
|
||||||
|
<td>🔜</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Communities</td>
|
||||||
|
<td>🔜</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Channels</td>
|
||||||
|
<td>🔜</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>Something missing? Make an issue and let us know!</p>
|
<p>Something missing? Make an issue and let us know!</p>
|
||||||
<h2>Contributing</h2>
|
<h2>Contributing</h2>
|
||||||
<p>Pull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.</p>
|
<p>Feel free to open pull requests; we welcome contributions! However, for significant changes, it's best to open an issue beforehand. Make sure to review our <a href="https://github.com/pedroslopez/whatsapp-web.js/blob/main/CODE_OF_CONDUCT.md">contribution guidelines</a> before creating a pull request. Before creating your own issue or pull request, always check to see if one already exists!</p>
|
||||||
<h2>Supporting the project</h2>
|
<h2>Supporting the project</h2>
|
||||||
<p>You can support the maintainer of this project through the links below</p>
|
<p>You can support the maintainer of this project through the links below</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
@ -199,16 +258,16 @@ client.initialize();
|
||||||
<li><a href="https://m.do.co/c/73f906a36ed4">Sign up for DigitalOcean</a> and get $200 in credit when you sign up (Referral)</li>
|
<li><a href="https://m.do.co/c/73f906a36ed4">Sign up for DigitalOcean</a> and get $200 in credit when you sign up (Referral)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2>Disclaimer</h2>
|
<h2>Disclaimer</h2>
|
||||||
<p>This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at https://whatsapp.com. "WhatsApp" as well as related names, marks, emblems and images are registered trademarks of their respective owners.</p>
|
<p>This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at <a href="https://whatsapp.com">whatsapp.com</a>. "WhatsApp" as well as related names, marks, emblems and images are registered trademarks of their respective owners. Also it is not guaranteed you will not be blocked by using this method. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.</p>
|
||||||
<h2>License</h2>
|
<h2>License</h2>
|
||||||
<p>Copyright 2019 Pedro S Lopez</p>
|
<p>Copyright 2019 Pedro S Lopez</p>
|
||||||
<p>Licensed under the Apache License, Version 2.0 (the "License");
|
<p>Licensed under the Apache License, Version 2.0 (the "License");<br>
|
||||||
you may not use this project except in compliance with the License.
|
you may not use this project except in compliance with the License.<br>
|
||||||
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.</p>
|
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.</p>
|
||||||
<p>Unless required by applicable law or agreed to in writing, software
|
<p>Unless required by applicable law or agreed to in writing, software<br>
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,<br>
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br>
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and<br>
|
||||||
limitations under the License.</p></article>
|
limitations under the License.</p></article>
|
||||||
|
|
||||||
<div class="symbol-index">
|
<div class="symbol-index">
|
||||||
|
|
@ -777,6 +836,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#attachEventListeners" class="!symbol-index-name">Client#<wbr>attachEventListeners()</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#createGroup" class="!symbol-index-name">Client#<wbr>createGroup(title, participants, options)</a>
|
<a href="Client.html#createGroup" class="!symbol-index-name">Client#<wbr>createGroup(title, participants, options)</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -867,11 +931,6 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#event:message" class="!symbol-index-name">Client#<wbr>event:message</a>
|
<a href="Client.html#event:message" class="!symbol-index-name">Client#<wbr>event:message</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -882,6 +941,16 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#event:message_ciphertext" class="!symbol-index-name">Client#<wbr>event:message_ciphertext</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#event:message_create" class="!symbol-index-name">Client#<wbr>event:message_create</a>
|
<a href="Client.html#event:message_create" class="!symbol-index-name">Client#<wbr>event:message_create</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -917,6 +986,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#event:vote_update" class="!symbol-index-name">Client#<wbr>event:vote_update</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#getBlockedContacts" class="!symbol-index-name">Client#<wbr>getBlockedContacts()</a>
|
<a href="Client.html#getBlockedContacts" class="!symbol-index-name">Client#<wbr>getBlockedContacts()</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -952,6 +1026,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#getContactDeviceCount" class="!symbol-index-name">Client#<wbr>getContactDeviceCount(contactId)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#getContacts" class="!symbol-index-name">Client#<wbr>getContacts()</a>
|
<a href="Client.html#getContacts" class="!symbol-index-name">Client#<wbr>getContacts()</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -992,11 +1071,6 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#getProfilePicUrl" class="!symbol-index-name">Client#<wbr>getProfilePicUrl(contactId)</a>
|
<a href="Client.html#getProfilePicUrl" class="!symbol-index-name">Client#<wbr>getProfilePicUrl(contactId)</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1017,11 +1091,21 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#initialize" class="!symbol-index-name">Client#<wbr>initialize()</a>
|
<a href="Client.html#initialize" class="!symbol-index-name">Client#<wbr>initialize()</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#inject" class="!symbol-index-name">Client#<wbr>inject()</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#isRegisteredUser" class="!symbol-index-name">Client#<wbr>isRegisteredUser(id)</a>
|
<a href="Client.html#isRegisteredUser" class="!symbol-index-name">Client#<wbr>isRegisteredUser(id)</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1047,11 +1131,26 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#pupBrowser" class="!symbol-index-name">Client#<wbr>pupBrowser</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#pupPage" class="!symbol-index-name">Client#<wbr>pupPage</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#rejectGroupMembershipRequests" class="!symbol-index-name">Client#<wbr>rejectGroupMembershipRequests(groupId, options)</a>
|
<a href="Client.html#rejectGroupMembershipRequests" class="!symbol-index-name">Client#<wbr>rejectGroupMembershipRequests(groupId, options)</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#requestPairingCode" class="!symbol-index-name">Client#<wbr>requestPairingCode(phoneNumber, showNotification)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#resetState" class="!symbol-index-name">Client#<wbr>resetState()</a>
|
<a href="Client.html#resetState" class="!symbol-index-name">Client#<wbr>resetState()</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1082,6 +1181,26 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#setAutoDownloadAudio" class="!symbol-index-name">Client#<wbr>setAutoDownloadAudio(flag)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#setAutoDownloadDocuments" class="!symbol-index-name">Client#<wbr>setAutoDownloadDocuments(flag)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#setAutoDownloadPhotos" class="!symbol-index-name">Client#<wbr>setAutoDownloadPhotos(flag)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Client.html#setAutoDownloadVideos" class="!symbol-index-name">Client#<wbr>setAutoDownloadVideos(flag)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Client.html#setDisplayName" class="!symbol-index-name">Client#<wbr>setDisplayName(displayName)</a>
|
<a href="Client.html#setDisplayName" class="!symbol-index-name">Client#<wbr>setDisplayName(displayName)</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1358,16 +1477,16 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="global.html#Events#.GROUP_LEAVE" class="!symbol-index-name">Events.<wbr>GROUP_LEAVE</a>
|
<a href="global.html#Events#.GROUP_LEAVE" class="!symbol-index-name">Events.<wbr>GROUP_LEAVE</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="global.html#Events#.GROUP_MEMBERSHIP_REQUEST" class="!symbol-index-name">Events.<wbr>GROUP_MEMBERSHIP_REQUEST</a>
|
<a href="global.html#Events#.GROUP_MEMBERSHIP_REQUEST" class="!symbol-index-name">Events.<wbr>GROUP_MEMBERSHIP_REQUEST</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1398,6 +1517,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="global.html#Events#.MESSAGE_CIPHERTEXT" class="!symbol-index-name">Events.<wbr>MESSAGE_CIPHERTEXT</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="global.html#Events#.MESSAGE_CREATE" class="!symbol-index-name">Events.<wbr>MESSAGE_CREATE</a>
|
<a href="global.html#Events#.MESSAGE_CREATE" class="!symbol-index-name">Events.<wbr>MESSAGE_CREATE</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1408,16 +1532,16 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="global.html#Events#.MESSAGE_REACTION" class="!symbol-index-name">Events.<wbr>MESSAGE_REACTION</a>
|
<a href="global.html#Events#.MESSAGE_REACTION" class="!symbol-index-name">Events.<wbr>MESSAGE_REACTION</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="global.html#Events#.MESSAGE_RECEIVED" class="!symbol-index-name">Events.<wbr>MESSAGE_RECEIVED</a>
|
<a href="global.html#Events#.MESSAGE_RECEIVED" class="!symbol-index-name">Events.<wbr>MESSAGE_RECEIVED</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -1458,6 +1582,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="global.html#Events#.VOTE_UPDATE" class="!symbol-index-name">Events.<wbr>VOTE_UPDATE</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -1680,6 +1809,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="GroupChat.html#setAddMembersAdminsOnly" class="!symbol-index-name">GroupChat#<wbr>setAddMembersAdminsOnly([adminsOnly])</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="GroupChat.html#setDescription" class="!symbol-index-name">GroupChat#<wbr>setDescription(description)</a>
|
<a href="GroupChat.html#setDescription" class="!symbol-index-name">GroupChat#<wbr>setDescription(description)</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -2009,33 +2143,6 @@ limitations under the License.</p></article>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
|
||||||
<div class="symbol-index-content">
|
|
||||||
<h2 id="LegacySessionAuth">LegacySessionAuth</h2>
|
|
||||||
<div class="symbol-index-section">
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
<dt class="symbol-index-name">
|
|
||||||
<a href="LegacySessionAuth.html" class="!symbol-index-name">LegacySessionAuth(options)</a>
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="symbol-index-column">
|
|
||||||
<dl class="symbol-index-list">
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<div class="symbol-index-content">
|
<div class="symbol-index-content">
|
||||||
<h2 id="List">List</h2>
|
<h2 id="List">List</h2>
|
||||||
|
|
@ -2295,6 +2402,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Message.html#getGroupMentions" class="!symbol-index-name">Message#<wbr>getGroupMentions()</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -2330,6 +2442,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Message.html#groupMentions" class="!symbol-index-name">Message#<wbr>groupMentions</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Message.html#hasMedia" class="!symbol-index-name">Message#<wbr>hasMedia</a>
|
<a href="Message.html#hasMedia" class="!symbol-index-name">Message#<wbr>hasMedia</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -2410,6 +2527,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Message.html#pin" class="!symbol-index-name">Message#<wbr>pin(duration)</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Message.html#rawData" class="!symbol-index-name">Message#<wbr>rawData</a>
|
<a href="Message.html#rawData" class="!symbol-index-name">Message#<wbr>rawData</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -2455,6 +2577,11 @@ limitations under the License.</p></article>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="Message.html#unpin" class="!symbol-index-name">Message#<wbr>unpin()</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
<dt class="symbol-index-name">
|
<dt class="symbol-index-name">
|
||||||
<a href="Message.html#unstar" class="!symbol-index-name">Message#<wbr>unstar()</a>
|
<a href="Message.html#unstar" class="!symbol-index-name">Message#<wbr>unstar()</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
|
@ -2960,6 +3087,53 @@ limitations under the License.</p></article>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
<div class="symbol-index-content">
|
||||||
|
<h2 id="PollVote">PollVote</h2>
|
||||||
|
<div class="symbol-index-section">
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="PollVote.html" class="!symbol-index-name">PollVote()</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="PollVote.html#interractedAtTs" class="!symbol-index-name">PollVote#<wbr>interractedAtTs</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="PollVote.html#parentMessage" class="!symbol-index-name">PollVote#<wbr>parentMessage</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="PollVote.html#selectedOptions" class="!symbol-index-name">PollVote#<wbr>selectedOptions</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="symbol-index-column">
|
||||||
|
<dl class="symbol-index-list">
|
||||||
|
<dt class="symbol-index-name">
|
||||||
|
<a href="PollVote.html#voter" class="!symbol-index-name">PollVote#<wbr>voter</a>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<div class="symbol-index-content">
|
<div class="symbol-index-content">
|
||||||
<h2 id="PrivateChat">PrivateChat</h2>
|
<h2 id="PrivateChat">PrivateChat</h2>
|
||||||
|
|
@ -3734,7 +3908,7 @@ limitations under the License.</p></article>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
treeNode.tree({
|
treeNode.tree({
|
||||||
autoEscape: false,
|
autoEscape: false,
|
||||||
closedIcon: '⇢',
|
closedIcon: '⇢',
|
||||||
data: [{"label":"<a href=\"global.html\">Globals</a>","id":"global","children":[]},{"label":"<a href=\"Base.html\">Base</a>","id":"Base","children":[]},{"label":"<a href=\"BaseAuthStrategy.html\">BaseAuthStrategy</a>","id":"BaseAuthStrategy","children":[]},{"label":"<a href=\"BusinessContact.html\">BusinessContact</a>","id":"BusinessContact","children":[]},{"label":"<a href=\"Buttons.html\">Buttons</a>","id":"Buttons","children":[]},{"label":"<a href=\"Call.html\">Call</a>","id":"Call","children":[]},{"label":"<a href=\"Chat.html\">Chat</a>","id":"Chat","children":[]},{"label":"<a href=\"Client.html\">Client</a>","id":"Client","children":[]},{"label":"<a href=\"ClientInfo.html\">ClientInfo</a>","id":"ClientInfo","children":[]},{"label":"<a href=\"Contact.html\">Contact</a>","id":"Contact","children":[]},{"label":"<a href=\"GroupChat.html\">GroupChat</a>","id":"GroupChat","children":[]},{"label":"<a href=\"GroupNotification.html\">GroupNotification</a>","id":"GroupNotification","children":[]},{"label":"<a href=\"InterfaceController.html\">InterfaceController</a>","id":"InterfaceController","children":[]},{"label":"<a href=\"Label.html\">Label</a>","id":"Label","children":[]},{"label":"<a href=\"LegacySessionAuth.html\">LegacySessionAuth</a>","id":"LegacySessionAuth","children":[]},{"label":"<a href=\"List.html\">List</a>","id":"List","children":[]},{"label":"<a href=\"LocalAuth.html\">LocalAuth</a>","id":"LocalAuth","children":[]},{"label":"<a href=\"LocalWebCache.html\">LocalWebCache</a>","id":"LocalWebCache","children":[]},{"label":"<a href=\"Location.html\">Location</a>","id":"Location","children":[]},{"label":"<a href=\"Message.html\">Message</a>","id":"Message","children":[]},{"label":"<a href=\"MessageMedia.html\">MessageMedia</a>","id":"MessageMedia","children":[]},{"label":"<a href=\"NoAuth.html\">NoAuth</a>","id":"NoAuth","children":[]},{"label":"<a href=\"Order.html\">Order</a>","id":"Order","children":[]},{"label":"<a href=\"Poll.html\">Poll</a>","id":"Poll","children":[]},{"label":"<a href=\"PrivateChat.html\">PrivateChat</a>","id":"PrivateChat","children":[]},{"label":"<a href=\"PrivateContact.html\">PrivateContact</a>","id":"PrivateContact","children":[]},{"label":"<a href=\"Product.html\">Product</a>","id":"Product","children":[]},{"label":"<a href=\"Reaction.html\">Reaction</a>","id":"Reaction","children":[]},{"label":"<a href=\"RemoteAuth.html\">RemoteAuth</a>","id":"RemoteAuth","children":[]},{"label":"<a href=\"RemoteWebCache.html\">RemoteWebCache</a>","id":"RemoteWebCache","children":[]},{"label":"<a href=\"Util.html\">Util</a>","id":"Util","children":[]},{"label":"<a href=\"WebCache.html\">WebCache</a>","id":"WebCache","children":[]}],
|
data: [{"label":"<a href=\"global.html\">Globals</a>","id":"global","children":[]},{"label":"<a href=\"Base.html\">Base</a>","id":"Base","children":[]},{"label":"<a href=\"BaseAuthStrategy.html\">BaseAuthStrategy</a>","id":"BaseAuthStrategy","children":[]},{"label":"<a href=\"BusinessContact.html\">BusinessContact</a>","id":"BusinessContact","children":[]},{"label":"<a href=\"Buttons.html\">Buttons</a>","id":"Buttons","children":[]},{"label":"<a href=\"Call.html\">Call</a>","id":"Call","children":[]},{"label":"<a href=\"Chat.html\">Chat</a>","id":"Chat","children":[]},{"label":"<a href=\"Client.html\">Client</a>","id":"Client","children":[]},{"label":"<a href=\"ClientInfo.html\">ClientInfo</a>","id":"ClientInfo","children":[]},{"label":"<a href=\"Contact.html\">Contact</a>","id":"Contact","children":[]},{"label":"<a href=\"GroupChat.html\">GroupChat</a>","id":"GroupChat","children":[]},{"label":"<a href=\"GroupNotification.html\">GroupNotification</a>","id":"GroupNotification","children":[]},{"label":"<a href=\"InterfaceController.html\">InterfaceController</a>","id":"InterfaceController","children":[]},{"label":"<a href=\"Label.html\">Label</a>","id":"Label","children":[]},{"label":"<a href=\"List.html\">List</a>","id":"List","children":[]},{"label":"<a href=\"LocalAuth.html\">LocalAuth</a>","id":"LocalAuth","children":[]},{"label":"<a href=\"LocalWebCache.html\">LocalWebCache</a>","id":"LocalWebCache","children":[]},{"label":"<a href=\"Location.html\">Location</a>","id":"Location","children":[]},{"label":"<a href=\"Message.html\">Message</a>","id":"Message","children":[]},{"label":"<a href=\"MessageMedia.html\">MessageMedia</a>","id":"MessageMedia","children":[]},{"label":"<a href=\"NoAuth.html\">NoAuth</a>","id":"NoAuth","children":[]},{"label":"<a href=\"Order.html\">Order</a>","id":"Order","children":[]},{"label":"<a href=\"Poll.html\">Poll</a>","id":"Poll","children":[]},{"label":"<a href=\"PollVote.html\">PollVote</a>","id":"PollVote","children":[]},{"label":"<a href=\"PrivateChat.html\">PrivateChat</a>","id":"PrivateChat","children":[]},{"label":"<a href=\"PrivateContact.html\">PrivateContact</a>","id":"PrivateContact","children":[]},{"label":"<a href=\"Product.html\">Product</a>","id":"Product","children":[]},{"label":"<a href=\"Reaction.html\">Reaction</a>","id":"Reaction","children":[]},{"label":"<a href=\"RemoteAuth.html\">RemoteAuth</a>","id":"RemoteAuth","children":[]},{"label":"<a href=\"RemoteWebCache.html\">RemoteWebCache</a>","id":"RemoteWebCache","children":[]},{"label":"<a href=\"Util.html\">Util</a>","id":"Util","children":[]},{"label":"<a href=\"WebCache.html\">WebCache</a>","id":"WebCache","children":[]}],
|
||||||
openedIcon: ' ⇣',
|
openedIcon: ' ⇣',
|
||||||
saveState: false,
|
saveState: false,
|
||||||
useContextMenu: false
|
useContextMenu: false
|
||||||
|
|
|
||||||
|
|
@ -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.23.0 » Source: structures/Base.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Base.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -60,7 +60,7 @@ module.exports = Base;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/BusinessContact.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/BusinessContact.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -59,7 +59,7 @@ module.exports = BusinessContact;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Buttons.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Buttons.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -120,7 +120,7 @@ module.exports = Buttons;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Call.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Call.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -114,7 +114,7 @@ module.exports = Call;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Chat.js</title>
|
<title>whatsapp-web.js 1.26.0 » 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/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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -314,7 +314,7 @@ module.exports = Chat;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/ClientInfo.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/ClientInfo.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -109,7 +109,7 @@ module.exports = ClientInfo;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Contact.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Contact.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -247,7 +247,7 @@ module.exports = Contact;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/GroupChat.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/GroupChat.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -129,7 +129,7 @@ class GroupChat extends Chat {
|
||||||
419: 'The participant can\'t be added because the group is full'
|
419: 'The participant can\'t be added because the group is full'
|
||||||
};
|
};
|
||||||
|
|
||||||
await window.Store.GroupMetadata.queryAndUpdate(groupWid);
|
await window.Store.GroupQueryAndUpdate(groupWid);
|
||||||
const groupMetadata = group.groupMetadata;
|
const groupMetadata = group.groupMetadata;
|
||||||
const groupParticipants = groupMetadata?.participants;
|
const groupParticipants = groupMetadata?.participants;
|
||||||
|
|
||||||
|
|
@ -183,7 +183,7 @@ class GroupChat extends Chat {
|
||||||
|
|
||||||
if (autoSendInviteV4 &amp;&amp; rpcResultCode === 403) {
|
if (autoSendInviteV4 &amp;&amp; rpcResultCode === 403) {
|
||||||
let userChat, isInviteV4Sent = false;
|
let userChat, isInviteV4Sent = false;
|
||||||
window.Store.ContactCollection.gadd(pWid, { silent: true });
|
window.Store.Contact.gadd(pWid, { silent: true });
|
||||||
|
|
||||||
if (rpcResult.name === 'ParticipantRequestCodeCanBeSent' &amp;&amp;
|
if (rpcResult.name === 'ParticipantRequestCodeCanBeSent' &amp;&amp;
|
||||||
(userChat = await window.Store.Chat.find(pWid))) {
|
(userChat = await window.Store.Chat.find(pWid))) {
|
||||||
|
|
@ -312,6 +312,27 @@ class GroupChat extends Chat {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates the group setting to allow only admins to add members to the group.
|
||||||
|
* @param {boolean} [adminsOnly=true] Enable or disable this option
|
||||||
|
* @returns {Promise&lt;boolean>} Returns true if the setting was properly updated. This can return false if the user does not have the necessary permissions.
|
||||||
|
*/
|
||||||
|
async setAddMembersAdminsOnly(adminsOnly=true) {
|
||||||
|
const success = await this.client.pupPage.evaluate(async (groupId, adminsOnly) => {
|
||||||
|
const chatWid = window.Store.WidFactory.createWid(groupId);
|
||||||
|
try {
|
||||||
|
const response = await window.Store.GroupUtils.setGroupMemberAddMode(chatWid, 'member_add_mode', adminsOnly ? 0 : 1);
|
||||||
|
return response.name === 'SetMemberAddModeResponseSuccess';
|
||||||
|
} catch (err) {
|
||||||
|
if(err.name === 'SmaxParsingFailure') return false;
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
}, this.id._serialized, adminsOnly);
|
||||||
|
|
||||||
|
success &amp;&amp; (this.groupMetadata.memberAddMode = adminsOnly ? 'admin_add' : 'all_member_add');
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the group settings to only allow admins to send messages.
|
* Updates the group settings to only allow admins to send messages.
|
||||||
* @param {boolean} [adminsOnly=true] Enable or disable this option
|
* @param {boolean} [adminsOnly=true] Enable or disable this option
|
||||||
|
|
@ -390,10 +411,18 @@ class GroupChat extends Chat {
|
||||||
async getInviteCode() {
|
async getInviteCode() {
|
||||||
const codeRes = await this.client.pupPage.evaluate(async chatId => {
|
const codeRes = await this.client.pupPage.evaluate(async chatId => {
|
||||||
const chatWid = window.Store.WidFactory.createWid(chatId);
|
const chatWid = window.Store.WidFactory.createWid(chatId);
|
||||||
return window.Store.GroupInvite.queryGroupInviteCode(chatWid);
|
try {
|
||||||
|
return window.compareWwebVersions(window.Debug.VERSION, '>=', '2.3000.0')
|
||||||
|
? await window.Store.GroupInvite.queryGroupInviteCode(chatWid, true)
|
||||||
|
: await window.Store.GroupInvite.queryGroupInviteCode(chatWid);
|
||||||
|
}
|
||||||
|
catch (err) {
|
||||||
|
if(err.name === 'ServerStatusCodeError') return undefined;
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
||||||
return codeRes.code;
|
return codeRes?.code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -485,7 +514,7 @@ module.exports = GroupChat;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/GroupNotification.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/GroupNotification.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -143,7 +143,7 @@ module.exports = GroupNotification;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Label.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Label.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -88,7 +88,7 @@ module.exports = Label;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/List.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/List.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -118,7 +118,7 @@ module.exports = List;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Location.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Location.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -99,7 +99,7 @@ module.exports = Location;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Message.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Message.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -37,8 +37,8 @@ const Location = require('./Location');
|
||||||
const Order = require('./Order');
|
const Order = require('./Order');
|
||||||
const Payment = require('./Payment');
|
const Payment = require('./Payment');
|
||||||
const Reaction = require('./Reaction');
|
const Reaction = require('./Reaction');
|
||||||
const {MessageTypes} = require('../util/Constants');
|
const Contact = require('./Contact');
|
||||||
const {Contact} = require('./Contact');
|
const { MessageTypes } = require('../util/Constants');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Message on WhatsApp
|
* Represents a Message on WhatsApp
|
||||||
|
|
@ -213,19 +213,37 @@ class Message extends Base {
|
||||||
inviteCodeExp: data.inviteCodeExp,
|
inviteCodeExp: data.inviteCodeExp,
|
||||||
groupId: data.inviteGrp,
|
groupId: data.inviteGrp,
|
||||||
groupName: data.inviteGrpName,
|
groupName: data.inviteGrpName,
|
||||||
fromId: '_serialized' in data.from ? data.from._serialized : data.from,
|
fromId: typeof data.from === 'object' &amp;&amp; '_serialized' in data.from ? data.from._serialized : data.from,
|
||||||
toId: '_serialized' in data.to ? data.to._serialized : data.to
|
toId: typeof data.to === 'object' &amp;&amp; '_serialized' in data.to ? data.to._serialized : data.to
|
||||||
} : undefined;
|
} : undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates the mentions in the message body.
|
* @typedef {Object} Mention
|
||||||
* @type {Array&lt;string>}
|
* @property {string} server
|
||||||
|
* @property {string} user
|
||||||
|
* @property {string} _serialized
|
||||||
*/
|
*/
|
||||||
this.mentionedIds = [];
|
|
||||||
|
|
||||||
if (data.mentionedJidList) {
|
/**
|
||||||
this.mentionedIds = data.mentionedJidList;
|
* Indicates the mentions in the message body.
|
||||||
}
|
* @type {Mention[]}
|
||||||
|
*/
|
||||||
|
this.mentionedIds = data.mentionedJidList || [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} GroupMention
|
||||||
|
* @property {string} groupSubject The name of the group
|
||||||
|
* @property {Object} groupJid The group ID
|
||||||
|
* @property {string} groupJid.server
|
||||||
|
* @property {string} groupJid.user
|
||||||
|
* @property {string} groupJid._serialized
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Indicates whether there are group mentions in the message body
|
||||||
|
* @type {GroupMention[]}
|
||||||
|
*/
|
||||||
|
this.groupMentions = data.groupMentions || [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order ID for message type ORDER
|
* Order ID for message type ORDER
|
||||||
|
|
@ -308,12 +326,7 @@ class Message extends Base {
|
||||||
this.allowMultipleAnswers = Boolean(!data.pollSelectableOptionsCount);
|
this.allowMultipleAnswers = Boolean(!data.pollSelectableOptionsCount);
|
||||||
this.pollInvalidated = data.pollInvalidated;
|
this.pollInvalidated = data.pollInvalidated;
|
||||||
this.isSentCagPollCreation = data.isSentCagPollCreation;
|
this.isSentCagPollCreation = data.isSentCagPollCreation;
|
||||||
|
this.messageSecret = Object.keys(data.messageSecret).map((key) => data.messageSecret[key]);
|
||||||
delete this._data.pollName;
|
|
||||||
delete this._data.pollOptions;
|
|
||||||
delete this._data.pollSelectableOptionsCount;
|
|
||||||
delete this._data.pollInvalidated;
|
|
||||||
delete this._data.isSentCagPollCreation;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return super._patch(data);
|
return super._patch(data);
|
||||||
|
|
@ -329,9 +342,9 @@ class Message extends Base {
|
||||||
* @returns {Promise&lt;Message>}
|
* @returns {Promise&lt;Message>}
|
||||||
*/
|
*/
|
||||||
async reload() {
|
async reload() {
|
||||||
const newData = await this.client.pupPage.evaluate((msgId) => {
|
const newData = await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
const msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
if(!msg) return null;
|
if (!msg) return null;
|
||||||
return window.WWebJS.getMessageModel(msg);
|
return window.WWebJS.getMessageModel(msg);
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
||||||
|
|
@ -372,6 +385,14 @@ class Message extends Base {
|
||||||
async getMentions() {
|
async getMentions() {
|
||||||
return await Promise.all(this.mentionedIds.map(async m => await this.client.getContactById(m)));
|
return await Promise.all(this.mentionedIds.map(async m => await this.client.getContactById(m)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns groups mentioned in this message
|
||||||
|
* @returns {Promise&lt;GroupChat[]|[]>}
|
||||||
|
*/
|
||||||
|
async getGroupMentions() {
|
||||||
|
return await Promise.all(this.groupMentions.map(async (m) => await this.client.getChatById(m.groupJid._serialized)));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the quoted message, if any
|
* Returns the quoted message, if any
|
||||||
|
|
@ -380,8 +401,8 @@ class Message extends Base {
|
||||||
async getQuotedMessage() {
|
async getQuotedMessage() {
|
||||||
if (!this.hasQuotedMsg) return undefined;
|
if (!this.hasQuotedMsg) return undefined;
|
||||||
|
|
||||||
const quotedMsg = await this.client.pupPage.evaluate((msgId) => {
|
const quotedMsg = await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
const msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
const quotedMsg = window.Store.QuotedMsg.getQuotedMsgObj(msg);
|
const quotedMsg = window.Store.QuotedMsg.getQuotedMsgObj(msg);
|
||||||
return window.WWebJS.getMessageModel(quotedMsg);
|
return window.WWebJS.getMessageModel(quotedMsg);
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
@ -419,9 +440,10 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
async react(reaction){
|
async react(reaction){
|
||||||
await this.client.pupPage.evaluate(async (messageId, reaction) => {
|
await this.client.pupPage.evaluate(async (messageId, reaction) => {
|
||||||
if (!messageId) { return undefined; }
|
if (!messageId) return null;
|
||||||
|
const msg =
|
||||||
const msg = await window.Store.Msg.get(messageId);
|
window.Store.Msg.get(messageId) || (await window.Store.Msg.getMessagesById([messageId]))?.messages?.[0];
|
||||||
|
if(!msg) return null;
|
||||||
await window.Store.sendReactionToMsg(msg, reaction);
|
await window.Store.sendReactionToMsg(msg, reaction);
|
||||||
}, this.id._serialized, reaction);
|
}, this.id._serialized, reaction);
|
||||||
}
|
}
|
||||||
|
|
@ -444,10 +466,7 @@ class Message extends Base {
|
||||||
const chatId = typeof chat === 'string' ? chat : chat.id._serialized;
|
const chatId = typeof chat === 'string' ? chat : chat.id._serialized;
|
||||||
|
|
||||||
await this.client.pupPage.evaluate(async (msgId, chatId) => {
|
await this.client.pupPage.evaluate(async (msgId, chatId) => {
|
||||||
let msg = window.Store.Msg.get(msgId);
|
return window.WWebJS.forwardMessage(chatId, msgId);
|
||||||
let chat = window.Store.Chat.get(chatId);
|
|
||||||
|
|
||||||
return await chat.forwardMessages([msg]);
|
|
||||||
}, this.id._serialized, chatId);
|
}, this.id._serialized, chatId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -461,9 +480,9 @@ class Message extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await this.client.pupPage.evaluate(async (msgId) => {
|
const result = await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
const msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
if (!msg) {
|
if (!msg || !msg.mediaData) {
|
||||||
return undefined;
|
return null;
|
||||||
}
|
}
|
||||||
if (msg.mediaData.mediaStage != 'RESOLVED') {
|
if (msg.mediaData.mediaStage != 'RESOLVED') {
|
||||||
// try to resolve media
|
// try to resolve media
|
||||||
|
|
@ -513,12 +532,16 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
async delete(everyone) {
|
async delete(everyone) {
|
||||||
await this.client.pupPage.evaluate(async (msgId, everyone) => {
|
await this.client.pupPage.evaluate(async (msgId, everyone) => {
|
||||||
let msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
let chat = await window.Store.Chat.find(msg.id.remote);
|
let chat = await window.Store.Chat.find(msg.id.remote);
|
||||||
|
|
||||||
const canRevoke = window.Store.MsgActionChecks.canSenderRevokeMsg(msg) || window.Store.MsgActionChecks.canAdminRevokeMsg(msg);
|
const canRevoke = window.Store.MsgActionChecks.canSenderRevokeMsg(msg) || window.Store.MsgActionChecks.canAdminRevokeMsg(msg);
|
||||||
if (everyone &amp;&amp; canRevoke) {
|
if (everyone &amp;&amp; canRevoke) {
|
||||||
return window.Store.Cmd.sendRevokeMsgs(chat, [msg], { clearMedia: true, type: msg.id.fromMe ? 'Sender' : 'Admin' });
|
if (window.compareWwebVersions(window.Debug.VERSION, '>=', '2.3000.0')) {
|
||||||
|
return window.Store.Cmd.sendRevokeMsgs(chat, { list: [msg], type: 'message' }, { clearMedia: true });
|
||||||
|
} else {
|
||||||
|
return window.Store.Cmd.sendRevokeMsgs(chat, [msg], { clearMedia: true, type: msg.id.fromMe ? 'Sender' : 'Admin' });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return window.Store.Cmd.sendDeleteMsgs(chat, [msg], true);
|
return window.Store.Cmd.sendDeleteMsgs(chat, [msg], true);
|
||||||
|
|
@ -530,8 +553,7 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
async star() {
|
async star() {
|
||||||
await this.client.pupPage.evaluate(async (msgId) => {
|
await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
let msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
|
|
||||||
if (window.Store.MsgActionChecks.canStarMsg(msg)) {
|
if (window.Store.MsgActionChecks.canStarMsg(msg)) {
|
||||||
let chat = await window.Store.Chat.find(msg.id.remote);
|
let chat = await window.Store.Chat.find(msg.id.remote);
|
||||||
return window.Store.Cmd.sendStarMsgs(chat, [msg], false);
|
return window.Store.Cmd.sendStarMsgs(chat, [msg], false);
|
||||||
|
|
@ -544,8 +566,7 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
async unstar() {
|
async unstar() {
|
||||||
await this.client.pupPage.evaluate(async (msgId) => {
|
await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
let msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
|
|
||||||
if (window.Store.MsgActionChecks.canStarMsg(msg)) {
|
if (window.Store.MsgActionChecks.canStarMsg(msg)) {
|
||||||
let chat = await window.Store.Chat.find(msg.id.remote);
|
let chat = await window.Store.Chat.find(msg.id.remote);
|
||||||
return window.Store.Cmd.sendUnstarMsgs(chat, [msg], false);
|
return window.Store.Cmd.sendUnstarMsgs(chat, [msg], false);
|
||||||
|
|
@ -553,6 +574,27 @@ class Message extends Base {
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pins the message (group admins can pin messages of all group members)
|
||||||
|
* @param {number} duration The duration in seconds the message will be pinned in a chat
|
||||||
|
* @returns {Promise&lt;boolean>} Returns true if the operation completed successfully, false otherwise
|
||||||
|
*/
|
||||||
|
async pin(duration) {
|
||||||
|
return await this.client.pupPage.evaluate(async (msgId, duration) => {
|
||||||
|
return await window.WWebJS.pinUnpinMsgAction(msgId, 1, duration);
|
||||||
|
}, this.id._serialized, duration);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unpins the message (group admins can unpin messages of all group members)
|
||||||
|
* @returns {Promise&lt;boolean>} Returns true if the operation completed successfully, false otherwise
|
||||||
|
*/
|
||||||
|
async unpin() {
|
||||||
|
return await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
|
return await window.WWebJS.pinUnpinMsgAction(msgId, 2);
|
||||||
|
}, this.id._serialized);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message Info
|
* Message Info
|
||||||
* @typedef {Object} MessageInfo
|
* @typedef {Object} MessageInfo
|
||||||
|
|
@ -565,15 +607,20 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get information about message delivery status. May return null if the message does not exist or is not sent by you.
|
* Get information about message delivery status.
|
||||||
|
* May return null if the message does not exist or is not sent by you.
|
||||||
* @returns {Promise&lt;?MessageInfo>}
|
* @returns {Promise&lt;?MessageInfo>}
|
||||||
*/
|
*/
|
||||||
async getInfo() {
|
async getInfo() {
|
||||||
const info = await this.client.pupPage.evaluate(async (msgId) => {
|
const info = await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
const msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
if (!msg) return null;
|
if (!msg || !msg.id.fromMe) return null;
|
||||||
|
|
||||||
return await window.Store.MessageInfo.sendQueryMsgInfo(msg.id);
|
return new Promise((resolve) => {
|
||||||
|
setTimeout(async () => {
|
||||||
|
resolve(await window.Store.getMsgInfo(msg.id));
|
||||||
|
}, (Date.now() - msg.t * 1000 &lt; 1250) &amp;&amp; Math.floor(Math.random() * (1200 - 1100 + 1)) + 1100 || 0);
|
||||||
|
});
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
|
|
@ -600,7 +647,7 @@ class Message extends Base {
|
||||||
async getPayment() {
|
async getPayment() {
|
||||||
if (this.type === MessageTypes.PAYMENT) {
|
if (this.type === MessageTypes.PAYMENT) {
|
||||||
const msg = await this.client.pupPage.evaluate(async (msgId) => {
|
const msg = await this.client.pupPage.evaluate(async (msgId) => {
|
||||||
const msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
if(!msg) return null;
|
if(!msg) return null;
|
||||||
return msg.serialize();
|
return msg.serialize();
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
@ -654,12 +701,20 @@ class Message extends Base {
|
||||||
* @returns {Promise&lt;?Message>}
|
* @returns {Promise&lt;?Message>}
|
||||||
*/
|
*/
|
||||||
async edit(content, options = {}) {
|
async edit(content, options = {}) {
|
||||||
if (options.mentions &amp;&amp; options.mentions.some(possiblyContact => possiblyContact instanceof Contact)) {
|
if (options.mentions) {
|
||||||
options.mentions = options.mentions.map(a => a.id._serialized);
|
!Array.isArray(options.mentions) &amp;&amp; (options.mentions = [options.mentions]);
|
||||||
|
if (options.mentions.some((possiblyContact) => possiblyContact instanceof Contact)) {
|
||||||
|
console.warn('Mentions with an array of Contact are now deprecated. See more at https://github.com/pedroslopez/whatsapp-web.js/pull/2166.');
|
||||||
|
options.mentions = options.mentions.map((a) => a.id._serialized);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
options.groupMentions &amp;&amp; !Array.isArray(options.groupMentions) &amp;&amp; (options.groupMentions = [options.groupMentions]);
|
||||||
|
|
||||||
let internalOptions = {
|
let internalOptions = {
|
||||||
linkPreview: options.linkPreview === false ? undefined : true,
|
linkPreview: options.linkPreview === false ? undefined : true,
|
||||||
mentionedJidList: Array.isArray(options.mentions) ? options.mentions : [],
|
mentionedJidList: options.mentions || [],
|
||||||
|
groupMentions: options.groupMentions,
|
||||||
extraOptions: options.extra
|
extraOptions: options.extra
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -667,11 +722,11 @@ class Message extends Base {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const messageEdit = await this.client.pupPage.evaluate(async (msgId, message, options) => {
|
const messageEdit = await this.client.pupPage.evaluate(async (msgId, message, options) => {
|
||||||
let msg = window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
if (!msg) return null;
|
if (!msg) return null;
|
||||||
|
|
||||||
let catEdit = (msg.type === 'chat' &amp;&amp; window.Store.MsgActionChecks.canEditText(msg));
|
let canEdit = window.Store.MsgActionChecks.canEditText(msg) || window.Store.MsgActionChecks.canEditCaption(msg);
|
||||||
if (catEdit) {
|
if (canEdit) {
|
||||||
const msgEdit = await window.WWebJS.editMessage(msg, message, options);
|
const msgEdit = await window.WWebJS.editMessage(msg, message, options);
|
||||||
return msgEdit.serialize();
|
return msgEdit.serialize();
|
||||||
}
|
}
|
||||||
|
|
@ -695,7 +750,7 @@ module.exports = Message;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/MessageMedia.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/MessageMedia.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -150,7 +150,7 @@ module.exports = MessageMedia;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Order.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Order.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -90,7 +90,7 @@ module.exports = Order;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Payment.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Payment.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -118,7 +118,7 @@ module.exports = Payment;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Poll.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Poll.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -83,7 +83,7 @@ module.exports = Poll;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
115
docs/structures_PollVote.js.html
Normal file
115
docs/structures_PollVote.js.html
Normal file
|
|
@ -0,0 +1,115 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>whatsapp-web.js 1.26.0 » Source: structures/PollVote.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">
|
||||||
|
<link href="css/baseline.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="prettyPrint()">
|
||||||
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
|
<div id="jsdoc-navbar-container">
|
||||||
|
<div id="jsdoc-navbar-content">
|
||||||
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<div id="jsdoc-body-container">
|
||||||
|
<div id="jsdoc-content">
|
||||||
|
<div id="jsdoc-content-container">
|
||||||
|
<div id="jsdoc-banner" role="banner">
|
||||||
|
</div>
|
||||||
|
<div id="jsdoc-main" role="main">
|
||||||
|
<header class="page-header">
|
||||||
|
<h1>Source: structures/PollVote.js</h1>
|
||||||
|
</header>
|
||||||
|
<article>
|
||||||
|
<pre class="prettyprint linenums"><code>'use strict';
|
||||||
|
|
||||||
|
const Message = require('./Message');
|
||||||
|
const Base = require('./Base');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Selected poll option structure
|
||||||
|
* @typedef {Object} SelectedPollOption
|
||||||
|
* @property {number} id The local selected or deselected option ID
|
||||||
|
* @property {string} name The option name
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a Poll Vote on WhatsApp
|
||||||
|
* @extends {Base}
|
||||||
|
*/
|
||||||
|
class PollVote extends Base {
|
||||||
|
constructor(client, data) {
|
||||||
|
super(client);
|
||||||
|
|
||||||
|
if (data) this._patch(data);
|
||||||
|
}
|
||||||
|
|
||||||
|
_patch(data) {
|
||||||
|
/**
|
||||||
|
* The person who voted
|
||||||
|
* @type {string}
|
||||||
|
*/
|
||||||
|
this.voter = data.sender;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The selected poll option(s)
|
||||||
|
* If it's an empty array, the user hasn't selected any options on the poll,
|
||||||
|
* may occur when they deselected all poll options
|
||||||
|
* @type {SelectedPollOption[]}
|
||||||
|
*/
|
||||||
|
this.selectedOptions =
|
||||||
|
data.selectedOptionLocalIds.length > 0
|
||||||
|
? data.selectedOptionLocalIds.map((e) => ({
|
||||||
|
name: data.parentMessage.pollOptions.find((x) => x.localId === e).name,
|
||||||
|
localId: e
|
||||||
|
}))
|
||||||
|
: [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Timestamp the option was selected or deselected at
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
this.interractedAtTs = data.senderTimestampMs;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The poll creation message associated with the poll vote
|
||||||
|
* @type {Message}
|
||||||
|
*/
|
||||||
|
this.parentMessage = new Message(this.client, data.parentMessage);
|
||||||
|
|
||||||
|
return super._patch(data);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = PollVote;
|
||||||
|
</code></pre>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<nav id="jsdoc-toc-nav" role="navigation"></nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
|
<div id="jsdoc-footer-container">
|
||||||
|
<p>
|
||||||
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="scripts/jquery.min.js"></script>
|
||||||
|
<script src="scripts/tree.jquery.js"></script>
|
||||||
|
<script src="scripts/prettify.js"></script>
|
||||||
|
<script src="scripts/jsdoc-toc.js"></script>
|
||||||
|
<script src="scripts/linenumber.js"></script>
|
||||||
|
<script src="scripts/scrollanchor.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -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.23.0 » Source: structures/PrivateChat.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/PrivateChat.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -51,7 +51,7 @@ module.exports = PrivateChat;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/PrivateContact.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/PrivateContact.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -51,7 +51,7 @@ module.exports = PrivateContact;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Product.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Product.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -106,7 +106,7 @@ module.exports = Product;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/ProductMetadata.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/ProductMetadata.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -63,7 +63,7 @@ module.exports = ProductMetadata;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: structures/Reaction.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: structures/Reaction.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -107,7 +107,7 @@ module.exports = Reaction;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: util/Constants.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: util/Constants.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -75,6 +75,7 @@ exports.Events = {
|
||||||
CHAT_REMOVED: 'chat_removed',
|
CHAT_REMOVED: 'chat_removed',
|
||||||
CHAT_ARCHIVED: 'chat_archived',
|
CHAT_ARCHIVED: 'chat_archived',
|
||||||
MESSAGE_RECEIVED: 'message',
|
MESSAGE_RECEIVED: 'message',
|
||||||
|
MESSAGE_CIPHERTEXT: 'message_ciphertext',
|
||||||
MESSAGE_CREATE: 'message_create',
|
MESSAGE_CREATE: 'message_create',
|
||||||
MESSAGE_REVOKED_EVERYONE: 'message_revoke_everyone',
|
MESSAGE_REVOKED_EVERYONE: 'message_revoke_everyone',
|
||||||
MESSAGE_REVOKED_ME: 'message_revoke_me',
|
MESSAGE_REVOKED_ME: 'message_revoke_me',
|
||||||
|
|
@ -95,7 +96,8 @@ exports.Events = {
|
||||||
STATE_CHANGED: 'change_state',
|
STATE_CHANGED: 'change_state',
|
||||||
BATTERY_CHANGED: 'change_battery',
|
BATTERY_CHANGED: 'change_battery',
|
||||||
INCOMING_CALL: 'call',
|
INCOMING_CALL: 'call',
|
||||||
REMOTE_SESSION_SAVED: 'remote_session_saved'
|
REMOTE_SESSION_SAVED: 'remote_session_saved',
|
||||||
|
VOTE_UPDATE: 'vote_update'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -213,7 +215,7 @@ exports.MessageAck = {
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
199
docs/util_Injected_LegacyStore.js.html
Normal file
199
docs/util_Injected_LegacyStore.js.html
Normal file
|
|
@ -0,0 +1,199 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>whatsapp-web.js 1.26.0 » Source: util/Injected/LegacyStore.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">
|
||||||
|
<link href="css/baseline.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="prettyPrint()">
|
||||||
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
|
<div id="jsdoc-navbar-container">
|
||||||
|
<div id="jsdoc-navbar-content">
|
||||||
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<div id="jsdoc-body-container">
|
||||||
|
<div id="jsdoc-content">
|
||||||
|
<div id="jsdoc-content-container">
|
||||||
|
<div id="jsdoc-banner" role="banner">
|
||||||
|
</div>
|
||||||
|
<div id="jsdoc-main" role="main">
|
||||||
|
<header class="page-header">
|
||||||
|
<h1>Source: util/Injected/LegacyStore.js</h1>
|
||||||
|
</header>
|
||||||
|
<article>
|
||||||
|
<pre class="prettyprint linenums"><code>'use strict';
|
||||||
|
|
||||||
|
//TODO: To be removed by version 2.3000.x hard release
|
||||||
|
|
||||||
|
// Exposes the internal Store to the WhatsApp Web client
|
||||||
|
exports.ExposeLegacyStore = () => {
|
||||||
|
window.Store = Object.assign({}, window.mR.findModule(m => m.default &amp;&amp; m.default.Chat)[0].default);
|
||||||
|
window.Store.AppState = window.mR.findModule('Socket')[0].Socket;
|
||||||
|
window.Store.Conn = window.mR.findModule('Conn')[0].Conn;
|
||||||
|
window.Store.BlockContact = window.mR.findModule('blockContact')[0];
|
||||||
|
window.Store.Call = window.mR.findModule((module) => module.default &amp;&amp; module.default.Call)[0].default.Call;
|
||||||
|
window.Store.Cmd = window.mR.findModule('Cmd')[0].Cmd;
|
||||||
|
window.Store.CryptoLib = window.mR.findModule('decryptE2EMedia')[0];
|
||||||
|
window.Store.DownloadManager = window.mR.findModule('downloadManager')[0].downloadManager;
|
||||||
|
window.Store.GroupMetadata = window.mR.findModule('GroupMetadata')[0].default.GroupMetadata;
|
||||||
|
window.Store.GroupQueryAndUpdate = window.mR.findModule('queryAndUpdateGroupMetadataById')[0].queryAndUpdateGroupMetadataById;
|
||||||
|
window.Store.Label = window.mR.findModule('LabelCollection')[0].LabelCollection;
|
||||||
|
window.Store.MediaPrep = window.mR.findModule('prepRawMedia')[0];
|
||||||
|
window.Store.MediaObject = window.mR.findModule('getOrCreateMediaObject')[0];
|
||||||
|
window.Store.NumberInfo = window.mR.findModule('formattedPhoneNumber')[0];
|
||||||
|
window.Store.MediaTypes = window.mR.findModule('msgToMediaType')[0];
|
||||||
|
window.Store.MediaUpload = window.mR.findModule('uploadMedia')[0];
|
||||||
|
window.Store.MsgKey = window.mR.findModule((module) => module.default &amp;&amp; module.default.fromString)[0].default;
|
||||||
|
window.Store.OpaqueData = window.mR.findModule(module => module.default &amp;&amp; module.default.createFromData)[0].default;
|
||||||
|
window.Store.QueryProduct = window.mR.findModule('queryProduct')[0];
|
||||||
|
window.Store.QueryOrder = window.mR.findModule('queryOrder')[0];
|
||||||
|
window.Store.SendClear = window.mR.findModule('sendClear')[0];
|
||||||
|
window.Store.SendDelete = window.mR.findModule('sendDelete')[0];
|
||||||
|
window.Store.SendMessage = window.mR.findModule('addAndSendMsgToChat')[0];
|
||||||
|
window.Store.EditMessage = window.mR.findModule('addAndSendMessageEdit')[0];
|
||||||
|
window.Store.SendSeen = window.mR.findModule('sendSeen')[0];
|
||||||
|
window.Store.User = window.mR.findModule('getMaybeMeUser')[0];
|
||||||
|
window.Store.ContactMethods = window.mR.findModule('getUserid')[0];
|
||||||
|
window.Store.UploadUtils = window.mR.findModule((module) => (module.default &amp;&amp; module.default.encryptAndUpload) ? module.default : null)[0].default;
|
||||||
|
window.Store.UserConstructor = window.mR.findModule((module) => (module.default &amp;&amp; module.default.prototype &amp;&amp; module.default.prototype.isServer &amp;&amp; module.default.prototype.isUser) ? module.default : null)[0].default;
|
||||||
|
window.Store.Validators = window.mR.findModule('findLinks')[0];
|
||||||
|
window.Store.VCard = window.mR.findModule('vcardFromContactModel')[0];
|
||||||
|
window.Store.WidFactory = window.mR.findModule('createWid')[0];
|
||||||
|
window.Store.ProfilePic = window.mR.findModule('profilePicResync')[0];
|
||||||
|
window.Store.PresenceUtils = window.mR.findModule('sendPresenceAvailable')[0];
|
||||||
|
window.Store.ChatState = window.mR.findModule('sendChatStateComposing')[0];
|
||||||
|
window.Store.findCommonGroups = window.mR.findModule('findCommonGroups')[0].findCommonGroups;
|
||||||
|
window.Store.StatusUtils = window.mR.findModule('setMyStatus')[0];
|
||||||
|
window.Store.ConversationMsgs = window.mR.findModule('loadEarlierMsgs')[0];
|
||||||
|
window.Store.sendReactionToMsg = window.mR.findModule('sendReactionToMsg')[0].sendReactionToMsg;
|
||||||
|
window.Store.createOrUpdateReactionsModule = window.mR.findModule('createOrUpdateReactions')[0];
|
||||||
|
window.Store.EphemeralFields = window.mR.findModule('getEphemeralFields')[0];
|
||||||
|
window.Store.MsgActionChecks = window.mR.findModule('canSenderRevokeMsg')[0];
|
||||||
|
window.Store.QuotedMsg = window.mR.findModule('getQuotedMsgObj')[0];
|
||||||
|
window.Store.LinkPreview = window.mR.findModule('getLinkPreview')[0];
|
||||||
|
window.Store.Socket = window.mR.findModule('deprecatedSendIq')[0];
|
||||||
|
window.Store.SocketWap = window.mR.findModule('wap')[0];
|
||||||
|
window.Store.SearchContext = window.mR.findModule('getSearchContext')[0].getSearchContext;
|
||||||
|
window.Store.DrawerManager = window.mR.findModule('DrawerManager')[0].DrawerManager;
|
||||||
|
window.Store.LidUtils = window.mR.findModule('getCurrentLid')[0];
|
||||||
|
window.Store.WidToJid = window.mR.findModule('widToUserJid')[0];
|
||||||
|
window.Store.JidToWid = window.mR.findModule('userJidToUserWid')[0];
|
||||||
|
window.Store.getMsgInfo = (window.mR.findModule('sendQueryMsgInfo')[0] || {}).sendQueryMsgInfo || window.mR.findModule('queryMsgInfo')[0].queryMsgInfo;
|
||||||
|
window.Store.pinUnpinMsg = window.mR.findModule('sendPinInChatMsg')[0].sendPinInChatMsg;
|
||||||
|
|
||||||
|
/* eslint-disable no-undef, no-cond-assign */
|
||||||
|
window.Store.QueryExist = ((m = window.mR.findModule('queryExists')[0]) ? m.queryExists : window.mR.findModule('queryExist')[0].queryWidExists);
|
||||||
|
window.Store.ReplyUtils = (m = window.mR.findModule('canReplyMsg')).length > 0 &amp;&amp; m[0];
|
||||||
|
/* eslint-enable no-undef, no-cond-assign */
|
||||||
|
|
||||||
|
window.Store.Settings = {
|
||||||
|
...window.mR.findModule('ChatlistPanelState')[0],
|
||||||
|
setPushname: window.mR.findModule((m) => m.setPushname &amp;&amp; !m.ChatlistPanelState)[0].setPushname
|
||||||
|
};
|
||||||
|
window.Store.StickerTools = {
|
||||||
|
...window.mR.findModule('toWebpSticker')[0],
|
||||||
|
...window.mR.findModule('addWebpMetadata')[0]
|
||||||
|
};
|
||||||
|
window.Store.GroupUtils = {
|
||||||
|
...window.mR.findModule('createGroup')[0],
|
||||||
|
...window.mR.findModule('setGroupDescription')[0],
|
||||||
|
...window.mR.findModule('sendExitGroup')[0],
|
||||||
|
...window.mR.findModule('sendSetPicture')[0]
|
||||||
|
};
|
||||||
|
window.Store.GroupParticipants = {
|
||||||
|
...window.mR.findModule('promoteParticipants')[0],
|
||||||
|
...window.mR.findModule('sendAddParticipantsRPC')[0]
|
||||||
|
};
|
||||||
|
window.Store.GroupInvite = {
|
||||||
|
...window.mR.findModule('resetGroupInviteCode')[0],
|
||||||
|
...window.mR.findModule('queryGroupInvite')[0]
|
||||||
|
};
|
||||||
|
window.Store.GroupInviteV4 = {
|
||||||
|
...window.mR.findModule('queryGroupInviteV4')[0],
|
||||||
|
...window.mR.findModule('sendGroupInviteMessage')[0]
|
||||||
|
};
|
||||||
|
window.Store.MembershipRequestUtils = {
|
||||||
|
...window.mR.findModule('getMembershipApprovalRequests')[0],
|
||||||
|
...window.mR.findModule('sendMembershipRequestsActionRPC')[0]
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!window.Store.Chat._find) {
|
||||||
|
window.Store.Chat._find = e => {
|
||||||
|
const target = window.Store.Chat.get(e);
|
||||||
|
return target ? Promise.resolve(target) : Promise.resolve({
|
||||||
|
id: e
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
|
if ((m = window.mR.findModule('ChatCollection')[0]) &amp;&amp; m.ChatCollection &amp;&amp; typeof m.ChatCollection.findImpl === 'undefined' &amp;&amp; typeof m.ChatCollection._find !== 'undefined') m.ChatCollection.findImpl = m.ChatCollection._find;
|
||||||
|
|
||||||
|
const _isMDBackend = window.mR.findModule('isMDBackend');
|
||||||
|
if(_isMDBackend &amp;&amp; _isMDBackend[0] &amp;&amp; _isMDBackend[0].isMDBackend) {
|
||||||
|
window.Store.MDBackend = _isMDBackend[0].isMDBackend();
|
||||||
|
} else {
|
||||||
|
window.Store.MDBackend = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
const _features = window.mR.findModule('FEATURE_CHANGE_EVENT')[0];
|
||||||
|
if(_features) {
|
||||||
|
window.Store.Features = _features.LegacyPhoneFeatures;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Target options object description
|
||||||
|
* @typedef {Object} TargetOptions
|
||||||
|
* @property {string|number} module The name or a key of the target module to search
|
||||||
|
* @property {number} index The index value of the target module
|
||||||
|
* @property {string} function The function name to get from a module
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function to modify functions
|
||||||
|
* @param {TargetOptions} target Options specifying the target function to search for modifying
|
||||||
|
* @param {Function} callback Modified function
|
||||||
|
*/
|
||||||
|
window.injectToFunction = (target, callback) => {
|
||||||
|
const module = typeof target.module === 'string'
|
||||||
|
? window.mR.findModule(target.module)
|
||||||
|
: window.mR.modules[target.module];
|
||||||
|
const originalFunction = module[target.index][target.function];
|
||||||
|
const modifiedFunction = (...args) => callback(originalFunction, ...args);
|
||||||
|
module[target.index][target.function] = modifiedFunction;
|
||||||
|
};
|
||||||
|
|
||||||
|
window.injectToFunction({ module: 'mediaTypeFromProtobuf', index: 0, function: 'mediaTypeFromProtobuf' }, (func, ...args) => { const [proto] = args; return proto.locationMessage ? null : func(...args); });
|
||||||
|
|
||||||
|
window.injectToFunction({ module: 'typeAttributeFromProtobuf', index: 0, function: 'typeAttributeFromProtobuf' }, (func, ...args) => { const [proto] = args; return proto.locationMessage || proto.groupInviteMessage ? 'text' : func(...args); });
|
||||||
|
};</code></pre>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<nav id="jsdoc-toc-nav" role="navigation"></nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
|
<div id="jsdoc-footer-container">
|
||||||
|
<p>
|
||||||
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="scripts/jquery.min.js"></script>
|
||||||
|
<script src="scripts/tree.jquery.js"></script>
|
||||||
|
<script src="scripts/prettify.js"></script>
|
||||||
|
<script src="scripts/jsdoc-toc.js"></script>
|
||||||
|
<script src="scripts/linenumber.js"></script>
|
||||||
|
<script src="scripts/scrollanchor.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
221
docs/util_Injected_Store.js.html
Normal file
221
docs/util_Injected_Store.js.html
Normal file
|
|
@ -0,0 +1,221 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta name="generator" content="JSDoc 3.6.11">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>whatsapp-web.js 1.26.0 » Source: util/Injected/Store.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">
|
||||||
|
<link href="css/baseline.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="prettyPrint()">
|
||||||
|
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||||
|
<div id="jsdoc-navbar-container">
|
||||||
|
<div id="jsdoc-navbar-content">
|
||||||
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<div id="jsdoc-body-container">
|
||||||
|
<div id="jsdoc-content">
|
||||||
|
<div id="jsdoc-content-container">
|
||||||
|
<div id="jsdoc-banner" role="banner">
|
||||||
|
</div>
|
||||||
|
<div id="jsdoc-main" role="main">
|
||||||
|
<header class="page-header">
|
||||||
|
<h1>Source: util/Injected/Store.js</h1>
|
||||||
|
</header>
|
||||||
|
<article>
|
||||||
|
<pre class="prettyprint linenums"><code>'use strict';
|
||||||
|
|
||||||
|
exports.ExposeStore = () => {
|
||||||
|
/**
|
||||||
|
* Helper function that compares between two WWeb versions. Its purpose is to help the developer to choose the correct code implementation depending on the comparison value and the WWeb version.
|
||||||
|
* @param {string} lOperand The left operand for the WWeb version string to compare with
|
||||||
|
* @param {string} operator The comparison operator
|
||||||
|
* @param {string} rOperand The right operand for the WWeb version string to compare with
|
||||||
|
* @returns {boolean} Boolean value that indicates the result of the comparison
|
||||||
|
*/
|
||||||
|
window.compareWwebVersions = (lOperand, operator, rOperand) => {
|
||||||
|
if (!['>', '>=', '&lt;', '&lt;=', '='].includes(operator)) {
|
||||||
|
throw new class _ extends Error {
|
||||||
|
constructor(m) { super(m); this.name = 'CompareWwebVersionsError'; }
|
||||||
|
}('Invalid comparison operator is provided');
|
||||||
|
|
||||||
|
}
|
||||||
|
if (typeof lOperand !== 'string' || typeof rOperand !== 'string') {
|
||||||
|
throw new class _ extends Error {
|
||||||
|
constructor(m) { super(m); this.name = 'CompareWwebVersionsError'; }
|
||||||
|
}('A non-string WWeb version type is provided');
|
||||||
|
}
|
||||||
|
|
||||||
|
lOperand = lOperand.replace(/-beta$/, '');
|
||||||
|
rOperand = rOperand.replace(/-beta$/, '');
|
||||||
|
|
||||||
|
while (lOperand.length !== rOperand.length) {
|
||||||
|
lOperand.length > rOperand.length
|
||||||
|
? rOperand = rOperand.concat('0')
|
||||||
|
: lOperand = lOperand.concat('0');
|
||||||
|
}
|
||||||
|
|
||||||
|
lOperand = Number(lOperand.replace(/\./g, ''));
|
||||||
|
rOperand = Number(rOperand.replace(/\./g, ''));
|
||||||
|
|
||||||
|
return (
|
||||||
|
operator === '>' ? lOperand > rOperand :
|
||||||
|
operator === '>=' ? lOperand >= rOperand :
|
||||||
|
operator === '&lt;' ? lOperand &lt; rOperand :
|
||||||
|
operator === '&lt;=' ? lOperand &lt;= rOperand :
|
||||||
|
operator === '=' ? lOperand === rOperand :
|
||||||
|
false
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
window.Store = Object.assign({}, window.require('WAWebCollections'));
|
||||||
|
window.Store.AppState = window.require('WAWebSocketModel').Socket;
|
||||||
|
window.Store.BlockContact = window.require('WAWebBlockContactAction');
|
||||||
|
window.Store.Conn = window.require('WAWebConnModel').Conn;
|
||||||
|
window.Store.Cmd = window.require('WAWebCmd').Cmd;
|
||||||
|
window.Store.DownloadManager = window.require('WAWebDownloadManager').downloadManager;
|
||||||
|
window.Store.GroupQueryAndUpdate = window.require('WAWebGroupQueryJob').queryAndUpdateGroupMetadataById;
|
||||||
|
window.Store.MediaPrep = window.require('WAWebPrepRawMedia');
|
||||||
|
window.Store.MediaObject = window.require('WAWebMediaStorage');
|
||||||
|
window.Store.MediaTypes = window.require('WAWebMmsMediaTypes');
|
||||||
|
window.Store.MediaUpload = window.require('WAWebMediaMmsV4Upload');
|
||||||
|
window.Store.MsgKey = window.require('WAWebMsgKey');
|
||||||
|
window.Store.NumberInfo = window.require('WAPhoneUtils');
|
||||||
|
window.Store.OpaqueData = window.require('WAWebMediaOpaqueData');
|
||||||
|
window.Store.QueryProduct = window.require('WAWebBizProductCatalogBridge');
|
||||||
|
window.Store.QueryOrder = window.require('WAWebBizOrderBridge');
|
||||||
|
window.Store.SendClear = window.require('WAWebChatClearBridge');
|
||||||
|
window.Store.SendDelete = window.require('WAWebDeleteChatAction');
|
||||||
|
window.Store.SendMessage = window.require('WAWebSendMsgChatAction');
|
||||||
|
window.Store.EditMessage = window.require('WAWebSendMessageEditAction');
|
||||||
|
window.Store.SendSeen = window.require('WAWebUpdateUnreadChatAction');
|
||||||
|
window.Store.User = window.require('WAWebUserPrefsMeUser');
|
||||||
|
window.Store.ContactMethods = window.require('WAWebContactGetters');
|
||||||
|
window.Store.UploadUtils = window.require('WAWebUploadManager');
|
||||||
|
window.Store.UserConstructor = window.require('WAWebWid');
|
||||||
|
window.Store.Validators = window.require('WALinkify');
|
||||||
|
window.Store.VCard = window.require('WAWebFrontendVcardUtils');
|
||||||
|
window.Store.WidFactory = window.require('WAWebWidFactory');
|
||||||
|
window.Store.ProfilePic = window.require('WAWebContactProfilePicThumbBridge');
|
||||||
|
window.Store.PresenceUtils = window.require('WAWebPresenceChatAction');
|
||||||
|
window.Store.ChatState = window.require('WAWebChatStateBridge');
|
||||||
|
window.Store.findCommonGroups = window.require('WAWebFindCommonGroupsContactAction').findCommonGroups;
|
||||||
|
window.Store.StatusUtils = window.require('WAWebContactStatusBridge');
|
||||||
|
window.Store.ConversationMsgs = window.require('WAWebChatLoadMessages');
|
||||||
|
window.Store.sendReactionToMsg = window.require('WAWebSendReactionMsgAction').sendReactionToMsg;
|
||||||
|
window.Store.createOrUpdateReactionsModule = window.require('WAWebDBCreateOrUpdateReactions');
|
||||||
|
window.Store.EphemeralFields = window.require('WAWebGetEphemeralFieldsMsgActionsUtils');
|
||||||
|
window.Store.MsgActionChecks = window.require('WAWebMsgActionCapability');
|
||||||
|
window.Store.QuotedMsg = window.require('WAWebQuotedMsgModelUtils');
|
||||||
|
window.Store.LinkPreview = window.require('WAWebLinkPreviewChatAction');
|
||||||
|
window.Store.Socket = window.require('WADeprecatedSendIq');
|
||||||
|
window.Store.SocketWap = window.require('WAWap');
|
||||||
|
window.Store.SearchContext = window.require('WAWebChatMessageSearch').getSearchContext;
|
||||||
|
window.Store.DrawerManager = window.require('WAWebDrawerManager').DrawerManager;
|
||||||
|
window.Store.LidUtils = window.require('WAWebApiContact');
|
||||||
|
window.Store.WidToJid = window.require('WAWebWidToJid');
|
||||||
|
window.Store.JidToWid = window.require('WAWebJidToWid');
|
||||||
|
window.Store.getMsgInfo = window.require('WAWebApiMessageInfoStore').queryMsgInfo;
|
||||||
|
window.Store.pinUnpinMsg = window.require('WAWebSendPinMessageAction').sendPinInChatMsg;
|
||||||
|
window.Store.QueryExist = window.require('WAWebQueryExistsJob').queryWidExists;
|
||||||
|
window.Store.ReplyUtils = window.require('WAWebMsgReply');
|
||||||
|
window.Store.Settings = window.require('WAWebUserPrefsGeneral');
|
||||||
|
window.Store.BotSecret = window.require('WAWebBotMessageSecret');
|
||||||
|
window.Store.BotProfiles = window.require('WAWebBotProfileCollection');
|
||||||
|
window.Store.DeviceList = window.require('WAWebApiDeviceList');
|
||||||
|
if (window.compareWwebVersions(window.Debug.VERSION, '>=', '2.3000.1014111620'))
|
||||||
|
window.Store.AddonReactionTable = window.require('WAWebAddonReactionTableMode').reactionTableMode;
|
||||||
|
|
||||||
|
window.Store.ForwardUtils = {
|
||||||
|
...window.require('WAWebForwardMessagesToChat')
|
||||||
|
};
|
||||||
|
|
||||||
|
window.Store.StickerTools = {
|
||||||
|
...window.require('WAWebImageUtils'),
|
||||||
|
...window.require('WAWebAddWebpMetadata')
|
||||||
|
};
|
||||||
|
window.Store.GroupUtils = {
|
||||||
|
...window.require('WAWebGroupCreateJob'),
|
||||||
|
...window.require('WAWebGroupModifyInfoJob'),
|
||||||
|
...window.require('WAWebExitGroupAction'),
|
||||||
|
...window.require('WAWebContactProfilePicThumbBridge')
|
||||||
|
};
|
||||||
|
window.Store.GroupParticipants = {
|
||||||
|
...window.require('WAWebModifyParticipantsGroupAction'),
|
||||||
|
...window.require('WASmaxGroupsAddParticipantsRPC')
|
||||||
|
};
|
||||||
|
window.Store.GroupInvite = {
|
||||||
|
...window.require('WAWebGroupInviteJob'),
|
||||||
|
...window.require('WAWebGroupQueryJob')
|
||||||
|
};
|
||||||
|
window.Store.GroupInviteV4 = {
|
||||||
|
...window.require('WAWebGroupInviteV4Job'),
|
||||||
|
...window.require('WAWebChatSendMessages')
|
||||||
|
};
|
||||||
|
window.Store.MembershipRequestUtils = {
|
||||||
|
...window.require('WAWebApiMembershipApprovalRequestStore'),
|
||||||
|
...window.require('WASmaxGroupsMembershipRequestsActionRPC')
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!window.Store.Chat._find || !window.Store.Chat.findImpl) {
|
||||||
|
window.Store.Chat._find = e => {
|
||||||
|
const target = window.Store.Chat.get(e);
|
||||||
|
return target ? Promise.resolve(target) : Promise.resolve({
|
||||||
|
id: e
|
||||||
|
});
|
||||||
|
};
|
||||||
|
window.Store.Chat.findImpl = window.Store.Chat._find;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Target options object description
|
||||||
|
* @typedef {Object} TargetOptions
|
||||||
|
* @property {string|number} module The target module
|
||||||
|
* @property {string} function The function name to get from a module
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Function to modify functions
|
||||||
|
* @param {TargetOptions} target Options specifying the target function to search for modifying
|
||||||
|
* @param {Function} callback Modified function
|
||||||
|
*/
|
||||||
|
window.injectToFunction = (target, callback) => {
|
||||||
|
const module = window.require(target.module);
|
||||||
|
const originalFunction = module[target.function];
|
||||||
|
const modifiedFunction = (...args) => callback(originalFunction, ...args);
|
||||||
|
module[target.function] = modifiedFunction;
|
||||||
|
};
|
||||||
|
|
||||||
|
window.injectToFunction({ module: 'WAWebBackendJobsCommon', function: 'mediaTypeFromProtobuf' }, (func, ...args) => { const [proto] = args; return proto.locationMessage ? null : func(...args); });
|
||||||
|
|
||||||
|
window.injectToFunction({ module: 'WAWebE2EProtoUtils', function: 'typeAttributeFromProtobuf' }, (func, ...args) => { const [proto] = args; return proto.locationMessage || proto.groupInviteMessage ? 'text' : func(...args); });
|
||||||
|
|
||||||
|
};
|
||||||
|
</code></pre>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<nav id="jsdoc-toc-nav" role="navigation"></nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||||
|
<div id="jsdoc-footer-container">
|
||||||
|
<p>
|
||||||
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="scripts/jquery.min.js"></script>
|
||||||
|
<script src="scripts/tree.jquery.js"></script>
|
||||||
|
<script src="scripts/prettify.js"></script>
|
||||||
|
<script src="scripts/jsdoc-toc.js"></script>
|
||||||
|
<script src="scripts/linenumber.js"></script>
|
||||||
|
<script src="scripts/scrollanchor.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
1071
docs/util_Injected_Utils.js.html
Normal file
1071
docs/util_Injected_Utils.js.html
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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.23.0 » Source: util/InterfaceController.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: util/InterfaceController.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -80,7 +80,7 @@ class InterfaceController {
|
||||||
*/
|
*/
|
||||||
async openChatWindowAt(msgId) {
|
async openChatWindowAt(msgId) {
|
||||||
await this.pupPage.evaluate(async msgId => {
|
await this.pupPage.evaluate(async msgId => {
|
||||||
let msg = await window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
let chat = await window.Store.Chat.find(msg.id.remote);
|
let chat = await window.Store.Chat.find(msg.id.remote);
|
||||||
let searchContext = await window.Store.SearchContext(chat,msg);
|
let searchContext = await window.Store.SearchContext(chat,msg);
|
||||||
await window.Store.Cmd.openChatAt(chat, searchContext);
|
await window.Store.Cmd.openChatAt(chat, searchContext);
|
||||||
|
|
@ -93,7 +93,7 @@ class InterfaceController {
|
||||||
*/
|
*/
|
||||||
async openMessageDrawer(msgId) {
|
async openMessageDrawer(msgId) {
|
||||||
await this.pupPage.evaluate(async msgId => {
|
await this.pupPage.evaluate(async msgId => {
|
||||||
let msg = await window.Store.Msg.get(msgId);
|
const msg = window.Store.Msg.get(msgId) || (await window.Store.Msg.getMessagesById([msgId]))?.messages?.[0];
|
||||||
await window.Store.Cmd.msgInfoDrawer(msg);
|
await window.Store.Cmd.msgInfoDrawer(msg);
|
||||||
}, msgId);
|
}, msgId);
|
||||||
}
|
}
|
||||||
|
|
@ -166,7 +166,7 @@ module.exports = InterfaceController;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: util/Util.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: util/Util.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -225,7 +225,7 @@ module.exports = Util;
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: webCache/LocalWebCache.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: webCache/LocalWebCache.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -60,18 +60,16 @@ class LocalWebCache extends WebCache {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async persist(indexHtml) {
|
async persist(indexHtml, version) {
|
||||||
// extract version from index (e.g. manifest-2.2206.9.json -> 2.2206.9)
|
// version = (version+'').replace(/[^0-9.]/g,'');
|
||||||
const version = indexHtml.match(/manifest-([\d\\.]+)\.json/)[1];
|
|
||||||
if(!version) return;
|
|
||||||
|
|
||||||
const filePath = path.join(this.path, `${version}.html`);
|
const filePath = path.join(this.path, `${version}.html`);
|
||||||
fs.mkdirSync(this.path, { recursive: true });
|
fs.mkdirSync(this.path, { recursive: true });
|
||||||
fs.writeFileSync(filePath, indexHtml);
|
fs.writeFileSync(filePath, indexHtml);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = LocalWebCache;</code></pre>
|
module.exports = LocalWebCache;
|
||||||
|
</code></pre>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -81,7 +79,7 @@ module.exports = LocalWebCache;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: webCache/RemoteWebCache.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: webCache/RemoteWebCache.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -78,7 +78,7 @@ module.exports = RemoteWebCache;</code></pre>
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</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.23.0 » Source: webCache/WebCache.js</title>
|
<title>whatsapp-web.js 1.26.0 » Source: webCache/WebCache.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>23.<wbr>0</a>
|
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>25.<wbr>0</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -52,7 +52,7 @@ module.exports = {
|
||||||
<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 October 21, 2023.
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on September 18, 2024.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ exports.DefaultOptions = {
|
||||||
headless: true,
|
headless: true,
|
||||||
defaultViewport: null
|
defaultViewport: null
|
||||||
},
|
},
|
||||||
webVersion: '2.2346.52',
|
webVersion: '2.3000.1016590837',
|
||||||
webVersionCache: {
|
webVersionCache: {
|
||||||
type: 'local',
|
type: 'local',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.2346.52
|
2.3000.1016590837
|
||||||
Loading…
Reference in a new issue