-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4694e83
commit fc722dd
Showing
74 changed files
with
1,179 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta name="generator" content="JSDoc 3.6.11"> | ||
<meta charset="utf-8"> | ||
<title>whatsapp-web.js 1.26.1-alpha.2 » Class: Broadcast</title> | ||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css"> | ||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/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>26.<wbr>1-alpha.<wbr>2</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">Broadcast</span></h1> | ||
<p class="source-link">Source: <a href="structures_Broadcast.js.html#source-line-10">structures/<wbr>Broadcast.<wbr>js:10</a></p> | ||
<div class="symbol-classdesc"> | ||
<p>Represents a Status/Story 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="Broadcast.html#id">id</a></dt> | ||
<dd> | ||
</dd> | ||
<dt><a href="Broadcast.html#msgs">msgs</a></dt> | ||
<dd> | ||
</dd> | ||
</dl> | ||
</div> | ||
<div class="summary-column"> | ||
<dl class="dl-summary-callout"> | ||
<dt><a href="Broadcast.html#timestamp">timestamp</a></dt> | ||
<dd> | ||
</dd> | ||
<dt><a href="Broadcast.html#totalCount">totalCount</a></dt> | ||
<dd> | ||
</dd> | ||
</dl> | ||
</div> | ||
<div class="summary-column"> | ||
<dl class="dl-summary-callout"> | ||
<dt><a href="Broadcast.html#unreadCount">unreadCount</a></dt> | ||
<dd> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="summary-callout"> | ||
<h2 class="summary-callout-heading">Methods</h2> | ||
<div class="summary-content"> | ||
<div class="summary-column"> | ||
<dl class="dl-summary-callout"> | ||
<dt><a href="Broadcast.html#getChat">getChat()</a></dt> | ||
<dd> | ||
</dd> | ||
</dl> | ||
</div> | ||
<div class="summary-column"> | ||
<dl class="dl-summary-callout"> | ||
<dt><a href="Broadcast.html#getContact">getContact()</a></dt> | ||
<dd> | ||
</dd> | ||
</dl> | ||
</div> | ||
<div class="summary-column"> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
<section> | ||
<h2 id="Broadcast">new <span class="symbol-name">Broadcast</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="id"><span class="symbol-name">id</span><small class="property-type"> | ||
object</small></h3> | ||
<p>ID that represents the chat</p> | ||
<dl class="dl-compact"> | ||
</dl> | ||
<h3 id="msgs"><span class="symbol-name">msgs</span><small class="property-type"> | ||
Array of <a href="Message.html">Message</a></small></h3> | ||
<p>Messages statuses</p> | ||
<dl class="dl-compact"> | ||
</dl> | ||
<h3 id="timestamp"><span class="symbol-name">timestamp</span><small class="property-type"> | ||
number</small></h3> | ||
<p>Unix timestamp of last status</p> | ||
<dl class="dl-compact"> | ||
</dl> | ||
<h3 id="totalCount"><span class="symbol-name">totalCount</span><small class="property-type"> | ||
number</small></h3> | ||
<p>Number of available statuses</p> | ||
<dl class="dl-compact"> | ||
</dl> | ||
<h3 id="unreadCount"><span class="symbol-name">unreadCount</span><small class="property-type"> | ||
number</small></h3> | ||
<p>Number of not viewed</p> | ||
<dl class="dl-compact"> | ||
</dl> | ||
</section> | ||
<h2>Methods</h2> | ||
<section> | ||
<h3 id="getChat"><span class="symbol-name">getChat</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing <a href="Chat.html">Chat</a></span></span></h3> | ||
<p>Returns the Chat this message was sent in</p> | ||
<dl class="dl-compact"> | ||
<dt>Returns</dt> | ||
<dd> | ||
<p><code>Promise containing <a href="Chat.html">Chat</a></code> </p> | ||
</dd> | ||
</dl> | ||
<h3 id="getContact"><span class="symbol-name">getContact</span><span class="signature"><span class="signature-params">()</span> → <span class="signature-returns"> Promise containing <a href="Contact.html">Contact</a></span></span></h3> | ||
<p>Returns the Contact this message was sent from</p> | ||
<dl class="dl-compact"> | ||
<dt>Returns</dt> | ||
<dd> | ||
<p><code>Promise containing <a href="Contact.html">Contact</a></code> </p> | ||
</dd> | ||
</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 October 4, 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.