|
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
6 | | - <title>Client | @open-wa/wa-automate - v4.38.1</title> |
7 | | - <meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1"> |
| 6 | + <title>Client | @open-wa/wa-automate - v4.39.0</title> |
| 7 | + <meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0"> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
9 | 9 | <link rel="stylesheet" href="../assets/css/main.css"> |
10 | 10 | <link rel="stylesheet" href="../assets/css/pages.css"> |
|
31 | 31 | <li class="state loading">Preparing search index...</li> |
32 | 32 | <li class="state failure">The search index is not available</li> |
33 | 33 | </ul> |
34 | | - <a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a> |
| 34 | + <a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a> |
35 | 35 | </div> |
36 | 36 | <div class="table-cell" id="tsd-widgets"> |
37 | 37 | <div id="tsd-filter"> |
@@ -258,6 +258,7 @@ <h3>Methods</h3> |
258 | 258 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#reply" class="tsd-kind-icon">reply</a></li> |
259 | 259 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#reportSpam" class="tsd-kind-icon">report<wbr>Spam</a></li> |
260 | 260 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#revokeGroupInviteLink" class="tsd-kind-icon">revoke<wbr>Group<wbr>Invite<wbr>Link</a></li> |
| 261 | + <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendAdvancedButtons" class="tsd-kind-icon">send<wbr>Advanced<wbr>Buttons</a></li> |
261 | 262 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendAudio" class="tsd-kind-icon">send<wbr>Audio</a></li> |
262 | 263 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendBanner" class="tsd-kind-icon">send<wbr>Banner</a></li> |
263 | 264 | <li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendButtons" class="tsd-kind-icon">send<wbr>Buttons</a></li> |
@@ -5521,6 +5522,63 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</ |
5521 | 5522 | </li> |
5522 | 5523 | </ul> |
5523 | 5524 | </section> |
| 5525 | + <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> |
| 5526 | + <a name="sendAdvancedButtons" class="tsd-anchor"></a> |
| 5527 | + <h3>send<wbr>Advanced<wbr>Buttons</h3> |
| 5528 | + <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> |
| 5529 | + <li class="tsd-signature tsd-kind-icon">send<wbr>Advanced<wbr>Buttons<span class="tsd-signature-symbol">(</span>to<span class="tsd-signature-symbol">: </span><a href="../modules/api_model_aliases.html#ChatId" class="tsd-signature-type" data-tsd-kind="Type alias">ChatId</a>, body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/api_model_button.LocationButtonBody.html" class="tsd-signature-type" data-tsd-kind="Interface">LocationButtonBody</a>, buttons<span class="tsd-signature-symbol">: </span><a href="../interfaces/api_model_button.AdvancedButton.html" class="tsd-signature-type" data-tsd-kind="Interface">AdvancedButton</a><span class="tsd-signature-symbol">[]</span>, text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, footer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="../modules/api_model_aliases.html#MessageId" class="tsd-signature-type" data-tsd-kind="Type alias">MessageId</a><span class="tsd-signature-symbol">></span></li> |
| 5530 | + </ul> |
| 5531 | + <ul class="tsd-descriptions"> |
| 5532 | + <li class="tsd-description"> |
| 5533 | + <aside class="tsd-sources"> |
| 5534 | + </aside> |
| 5535 | + <div class="tsd-comment tsd-typography"> |
| 5536 | + <div class="lead"> |
| 5537 | + <p>{@license:insiders@}</p> |
| 5538 | + </div> |
| 5539 | + <p>Send advanced buttons with media body. This is an insiders feature for MD accounts.</p> |
| 5540 | + <p>Body can be location, image, video or document. Buttons can be quick reply, url or call buttons.</p> |
| 5541 | + </div> |
| 5542 | + <h4 class="tsd-parameters-title">Parameters</h4> |
| 5543 | + <ul class="tsd-parameters"> |
| 5544 | + <li> |
| 5545 | + <h5>to: <a href="../modules/api_model_aliases.html#ChatId" class="tsd-signature-type" data-tsd-kind="Type alias">ChatId</a></h5> |
| 5546 | + <div class="tsd-comment tsd-typography"> |
| 5547 | + <p>chat id</p> |
| 5548 | + </div> |
| 5549 | + </li> |
| 5550 | + <li> |
| 5551 | + <h5>body: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/api_model_button.LocationButtonBody.html" class="tsd-signature-type" data-tsd-kind="Interface">LocationButtonBody</a></h5> |
| 5552 | + <div class="tsd-comment tsd-typography"> |
| 5553 | + <p>The body of the buttons message</p> |
| 5554 | + </div> |
| 5555 | + </li> |
| 5556 | + <li> |
| 5557 | + <h5>buttons: <a href="../interfaces/api_model_button.AdvancedButton.html" class="tsd-signature-type" data-tsd-kind="Interface">AdvancedButton</a><span class="tsd-signature-symbol">[]</span></h5> |
| 5558 | + <div class="tsd-comment tsd-typography"> |
| 5559 | + <p>Array of buttons - limit is 3!</p> |
| 5560 | + </div> |
| 5561 | + </li> |
| 5562 | + <li> |
| 5563 | + <h5>text: <span class="tsd-signature-type">string</span></h5> |
| 5564 | + </li> |
| 5565 | + <li> |
| 5566 | + <h5>footer: <span class="tsd-signature-type">string</span></h5> |
| 5567 | + <div class="tsd-comment tsd-typography"> |
| 5568 | + <p>The footer of the buttons message</p> |
| 5569 | + </div> |
| 5570 | + </li> |
| 5571 | + <li> |
| 5572 | + <h5>filename: <span class="tsd-signature-type">string</span></h5> |
| 5573 | + <div class="tsd-comment tsd-typography"> |
| 5574 | + <p>Required if body is a file!!</p> |
| 5575 | + </div> |
| 5576 | + </li> |
| 5577 | + </ul> |
| 5578 | + <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="../modules/api_model_aliases.html#MessageId" class="tsd-signature-type" data-tsd-kind="Type alias">MessageId</a><span class="tsd-signature-symbol">></span></h4> |
| 5579 | + </li> |
| 5580 | + </ul> |
| 5581 | + </section> |
5524 | 5582 | <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> |
5525 | 5583 | <a name="sendAudio" class="tsd-anchor"></a> |
5526 | 5584 | <h3>send<wbr>Audio</h3> |
@@ -6239,15 +6297,7 @@ <h3>send<wbr>List<wbr>Message</h3> |
6239 | 6297 | <div class="lead"> |
6240 | 6298 | <p>{@license:insiders@}</p> |
6241 | 6299 | </div> |
6242 | | - <p>:::documentation-page{title="Welcome"}</p> |
6243 | | - <p>Please install :inline-code[unified]!</p> |
6244 | | - <p>::copyright-notice{year="2020"}</p> |
6245 | | - <p>::: |
6246 | | - ::license-required[insiders]</p> |
6247 | | - <p>::span{year="2020"}</p> |
6248 | | - <p>:span{year="2020"}</p> |
6249 | | - <p><span theme="badge contrast license">Insiders</span> |
6250 | | - <a href="https://gum.co/open-wa?tier=Insiders%20Program">REQUIRES AN INSIDERS LICENSE-KEY</a></p> |
| 6300 | + <p><a href="https://gum.co/open-wa?tier=Insiders%20Program">REQUIRES AN INSIDERS LICENSE-KEY</a></p> |
6251 | 6301 | <p>Send a list message. This will not work when being sent from business accounts!</p> |
6252 | 6302 | </div> |
6253 | 6303 | <h4 class="tsd-parameters-title">Parameters</h4> |
@@ -8416,6 +8466,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</ |
8416 | 8466 | <li class=" tsd-kind-method tsd-parent-kind-class"> |
8417 | 8467 | <a href="api_Client.Client.html#revokeGroupInviteLink" class="tsd-kind-icon">revoke<wbr>Group<wbr>Invite<wbr>Link</a> |
8418 | 8468 | </li> |
| 8469 | + <li class=" tsd-kind-method tsd-parent-kind-class"> |
| 8470 | + <a href="api_Client.Client.html#sendAdvancedButtons" class="tsd-kind-icon">send<wbr>Advanced<wbr>Buttons</a> |
| 8471 | + </li> |
8419 | 8472 | <li class=" tsd-kind-method tsd-parent-kind-class"> |
8420 | 8473 | <a href="api_Client.Client.html#sendAudio" class="tsd-kind-icon">send<wbr>Audio</a> |
8421 | 8474 | </li> |
|
0 commit comments