@vonage/client-sdk 2.1.3-snapshot.141.0 → 2.1.3-snapshot.143.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,10 +199,9 @@ We recommend unregistering callbacks when you no longer need them. See <a href="
199
199
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>the <code>timestamp</code> of the message</p>
200
200
  <div class="tsd-comment tsd-typography"><h4>Example</h4><pre><code class="language-ts"><span class="hl-1">[[</span><span class="hl-4">include</span><span class="hl-1">: </span><span class="hl-4">snippet_SendTemplateMessage</span><span class="hl-1">.</span><span class="hl-4">txt</span><span class="hl-1">]]</span>
201
201
  </code><button>Copy</button></pre>
202
- </div><aside class="tsd-sources"><p>Overrides vonage.CombinedClientJS.sendMessageTemplateEvent</p></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="sendMessageTextEvent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>send<wbr/>Message<wbr/>Text<wbr/>Event</span><a href="#sendMessageTextEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="sendMessageTextEvent.sendMessageTextEvent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">send<wbr/>Message<wbr/>Text<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span>, <span class="tsd-kind-parameter">text</span>, <span class="tsd-kind-parameter">raw</span><span class="tsd-signature-symbol">?</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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#sendMessageTextEvent.sendMessageTextEvent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Send a text message to a Conversation</p>
202
+ </div><aside class="tsd-sources"><p>Overrides vonage.CombinedClientJS.sendMessageTemplateEvent</p></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="sendMessageTextEvent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>send<wbr/>Message<wbr/>Text<wbr/>Event</span><a href="#sendMessageTextEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="sendMessageTextEvent.sendMessageTextEvent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">send<wbr/>Message<wbr/>Text<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span>, <span class="tsd-kind-parameter">text</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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#sendMessageTextEvent.sendMessageTextEvent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Send a text message to a Conversation</p>
203
203
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>the Conversation&#39;s id</p>
204
204
  </div><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">text</span>: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>the Body of the message</p>
205
- </div><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">raw</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><p>whether to send the text as raw or not (default: false, not recommended)</p>
206
205
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><p>the <code>timestamp</code> of the message</p>
207
206
  <div class="tsd-comment tsd-typography"><h4>Example</h4><pre><code class="language-ts"><span class="hl-1">[[</span><span class="hl-4">include</span><span class="hl-1">: </span><span class="hl-4">snippet_SendTextMessage</span><span class="hl-1">.</span><span class="hl-4">txt</span><span class="hl-1">]]</span>
208
207
  </code><button>Copy</button></pre>
@@ -401,10 +401,9 @@ export declare class VonageClient extends vonage.CombinedClientJS {
401
401
  * @group Chat
402
402
  * @param id - the Conversation's id
403
403
  * @param text - the Body of the message
404
- * @param raw - whether to send the text as raw or not (default: false, not recommended)
405
404
  * @returns the `timestamp` of the message
406
405
  */
407
- sendMessageTextEvent(id: string, text: string, raw?: boolean): Promise<string>;
406
+ sendMessageTextEvent(id: string, text: string): Promise<string>;
408
407
  /**
409
408
  * Send a custom message to a Conversation
410
409
  *