@twilio/conversations 3.0.0-rc.1 → 3.0.0-rc.5

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +7 -3
  3. package/builds/browser.js +1643 -1410
  4. package/builds/browser.js.map +1 -1
  5. package/builds/lib.d.ts +270 -182
  6. package/builds/lib.js +1643 -1410
  7. package/builds/lib.js.map +1 -1
  8. package/builds/twilio-conversations.js +3719 -4034
  9. package/builds/twilio-conversations.min.js +1 -16
  10. package/dist/aggregated-delivery-receipt.js.map +1 -1
  11. package/dist/client.js +53 -35
  12. package/dist/client.js.map +1 -1
  13. package/dist/command-executor.js.map +1 -1
  14. package/dist/configuration.js.map +1 -1
  15. package/dist/conversation.js +405 -376
  16. package/dist/conversation.js.map +1 -1
  17. package/dist/data/conversations.js +10 -11
  18. package/dist/data/conversations.js.map +1 -1
  19. package/dist/data/messages.js +9 -9
  20. package/dist/data/messages.js.map +1 -1
  21. package/dist/data/participants.js +19 -10
  22. package/dist/data/participants.js.map +1 -1
  23. package/dist/data/users.js +2 -2
  24. package/dist/data/users.js.map +1 -1
  25. package/dist/detailed-delivery-receipt.js.map +1 -1
  26. package/dist/index.js +6 -4
  27. package/dist/index.js.map +1 -1
  28. package/dist/interfaces/attributes.js.map +1 -1
  29. package/dist/interfaces/notification-types.js.map +1 -1
  30. package/dist/logger.js +2 -4
  31. package/dist/logger.js.map +1 -1
  32. package/dist/media.js.map +1 -1
  33. package/dist/message-builder.js.map +1 -1
  34. package/dist/message.js +16 -12
  35. package/dist/message.js.map +1 -1
  36. package/dist/node_modules/tslib/tslib.es6.js +1 -1
  37. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  38. package/dist/packages/conversations/package.json.js +1 -1
  39. package/dist/participant.js +2 -2
  40. package/dist/participant.js.map +1 -1
  41. package/dist/push-notification.js.map +1 -1
  42. package/dist/rest-paginator.js.map +1 -1
  43. package/dist/services/network.js.map +1 -1
  44. package/dist/services/typing-indicator.js +1 -1
  45. package/dist/services/typing-indicator.js.map +1 -1
  46. package/dist/unsent-message.js.map +1 -1
  47. package/dist/user.js +1 -1
  48. package/dist/user.js.map +1 -1
  49. package/dist/util/deferred.js.map +1 -1
  50. package/dist/util/index.js.map +1 -1
  51. package/docs/assets/js/search.js +1 -1
  52. package/docs/classes/CancellablePromise.html +3213 -0
  53. package/docs/classes/Client.html +4 -10
  54. package/docs/classes/Conversation.html +80 -51
  55. package/docs/classes/Media.html +2 -2
  56. package/docs/classes/Message.html +6 -6
  57. package/docs/classes/MessageBuilder.html +2 -2
  58. package/docs/classes/PushNotification.html +1 -1
  59. package/docs/classes/UnsentMessage.html +2 -2
  60. package/docs/index.html +20 -25
  61. package/docs/interfaces/ConversationState.html +2 -2
  62. package/docs/interfaces/ConversationUpdatedEventArgs.html +3001 -0
  63. package/docs/interfaces/PushNotificationData.html +48 -0
  64. package/docs/modules.html +19 -24
  65. package/package.json +21 -19
@@ -3278,12 +3278,6 @@ img {
3278
3278
  <div class="tsd-comment tsd-typography">
3279
3279
  <div class="lead">
3280
3280
  <p>Fired when the token is about to expire and needs to be updated.</p>
3281
- <ul>
3282
- <li>Parameters:</li>
3283
- </ul>
3284
- <ol>
3285
- <li>number <code>message</code> - token&#39;s time to live</li>
3286
- </ol>
3287
3281
  </div>
3288
3282
  </div>
3289
3283
  </section>
@@ -3641,7 +3635,7 @@ img {
3641
3635
  <a name="getTemporaryContentUrlsForMedia" class="tsd-anchor"></a>
3642
3636
  <h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media</h3>
3643
3637
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3644
- <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3638
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3645
3639
  </ul>
3646
3640
  <ul class="tsd-descriptions">
3647
3641
  <li class="tsd-description">
@@ -3662,7 +3656,7 @@ img {
3662
3656
  </div>
3663
3657
  </li>
3664
3658
  </ul>
3665
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3659
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3666
3660
  </li>
3667
3661
  </ul>
3668
3662
  </section>
@@ -3670,7 +3664,7 @@ img {
3670
3664
  <a name="getTemporaryContentUrlsForMediaSids" class="tsd-anchor"></a>
3671
3665
  <h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids</h3>
3672
3666
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3673
- <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<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-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3667
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<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-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3674
3668
  </ul>
3675
3669
  <ul class="tsd-descriptions">
3676
3670
  <li class="tsd-description">
@@ -3691,7 +3685,7 @@ img {
3691
3685
  </div>
3692
3686
  </li>
3693
3687
  </ul>
3694
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3688
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3695
3689
  </li>
3696
3690
  </ul>
3697
3691
  </section>
@@ -2858,7 +2858,8 @@ img {
2858
2858
  <section class="tsd-panel tsd-comment">
2859
2859
  <div class="tsd-comment tsd-typography">
2860
2860
  <div class="lead">
2861
- <p>A conversation represents communication between multiple Conversations clients</p>
2861
+ <p>A conversation represents communication between multiple Conversations
2862
+ clients.</p>
2862
2863
  </div>
2863
2864
  </div>
2864
2865
  </section>
@@ -2996,9 +2997,11 @@ img {
2996
2997
  </div>
2997
2998
  <p>Parameters:</p>
2998
2999
  <ol>
2999
- <li>object <code>data</code> - info object provided with the event. It has the following properties:<ul>
3000
+ <li>object <code>data</code> - info object provided with the event. It has the
3001
+ following properties:<ul>
3000
3002
  <li><a href="Message.html">Message</a> <code>message</code> - message that has received the update</li>
3001
- <li><a href="../modules.html#MessageUpdateReason">MessageUpdateReason</a>[] <code>updateReasons</code> - array of reasons for update</li>
3003
+ <li><a href="../modules.html#MessageUpdateReason">MessageUpdateReason</a>[] <code>updateReasons</code> - array of reasons for
3004
+ the update</li>
3002
3005
  </ul>
3003
3006
  </li>
3004
3007
  </ol>
@@ -3016,7 +3019,8 @@ img {
3016
3019
  </div>
3017
3020
  <p>Parameters:</p>
3018
3021
  <ol>
3019
- <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that joined the conversation</li>
3022
+ <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that joined the
3023
+ conversation</li>
3020
3024
  </ol>
3021
3025
  </div>
3022
3026
  </section>
@@ -3032,7 +3036,8 @@ img {
3032
3036
  </div>
3033
3037
  <p>Parameters:</p>
3034
3038
  <ol>
3035
- <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that left the conversation</li>
3039
+ <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that left the
3040
+ conversation</li>
3036
3041
  </ol>
3037
3042
  </div>
3038
3043
  </section>
@@ -3048,9 +3053,12 @@ img {
3048
3053
  </div>
3049
3054
  <p>Parameters:</p>
3050
3055
  <ol>
3051
- <li>object <code>data</code> - info object provided with the event. It has the following properties:<ul>
3052
- <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that has received the update</li>
3053
- <li><a href="../modules.html#ParticipantUpdateReason">ParticipantUpdateReason</a>[] <code>updateReasons</code> - array of reasons for update</li>
3056
+ <li>object <code>data</code> - info object provided with the event. It has the
3057
+ following properties:<ul>
3058
+ <li><a href="Participant.html">Participant</a> <code>participant</code> - participant that has received the
3059
+ update</li>
3060
+ <li><a href="../modules.html#ParticipantUpdateReason">ParticipantUpdateReason</a>[] <code>updateReasons</code> - array of reasons
3061
+ for the update</li>
3054
3062
  </ul>
3055
3063
  </li>
3056
3064
  </ol>
@@ -3064,7 +3072,8 @@ img {
3064
3072
  </aside>
3065
3073
  <div class="tsd-comment tsd-typography">
3066
3074
  <div class="lead">
3067
- <p>Fired when the conversation was destroyed or the currently-logged-in user has left private conversation.</p>
3075
+ <p>Fired when the conversation was destroyed or the currently-logged-in user
3076
+ has left private conversation.</p>
3068
3077
  </div>
3069
3078
  <p>Parameters:</p>
3070
3079
  <ol>
@@ -3084,7 +3093,8 @@ img {
3084
3093
  </div>
3085
3094
  <p>Parameters:</p>
3086
3095
  <ol>
3087
- <li><a href="Participant.html">Participant</a> <code>participant</code> - the participant that has stopped typing</li>
3096
+ <li><a href="Participant.html">Participant</a> <code>participant</code> - the participant that has stopped
3097
+ typing</li>
3088
3098
  </ol>
3089
3099
  </div>
3090
3100
  </section>
@@ -3100,7 +3110,8 @@ img {
3100
3110
  </div>
3101
3111
  <p>Parameters:</p>
3102
3112
  <ol>
3103
- <li><a href="Participant.html">Participant</a> <code>participant</code> - the participant that has started typing</li>
3113
+ <li><a href="Participant.html">Participant</a> <code>participant</code> - the participant that has started
3114
+ typing</li>
3104
3115
  </ol>
3105
3116
  </div>
3106
3117
  </section>
@@ -3116,9 +3127,12 @@ img {
3116
3127
  </div>
3117
3128
  <p>Parameters:</p>
3118
3129
  <ol>
3119
- <li>object <code>data</code> - info object provided with the event. It has the following properties:<ul>
3120
- <li><a href="Conversation.html">Conversation</a> <code>conversation</code> - conversation that has received the update</li>
3121
- <li><a href="../modules.html#ConversationUpdateReason">ConversationUpdateReason</a>[] <code>updateReasons</code> - array of reasons for update</li>
3130
+ <li>object <code>data</code> - info object provided with the event. It has the
3131
+ following properties:<ul>
3132
+ <li><a href="Conversation.html">Conversation</a> <code>conversation</code> - conversation that has received
3133
+ the update</li>
3134
+ <li><a href="../modules.html#ConversationUpdateReason">ConversationUpdateReason</a>[] <code>updateReasons</code> - array of reasons
3135
+ for the update</li>
3122
3136
  </ul>
3123
3137
  </li>
3124
3138
  </ol>
@@ -3377,7 +3391,7 @@ img {
3377
3391
  <a name="add" class="tsd-anchor"></a>
3378
3392
  <h3>add</h3>
3379
3393
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3380
- <li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>identity<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">?: </span><a href="../modules.html#JSONValue" class="tsd-signature-type" data-tsd-kind="Type alias">JSONValue</a><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">ParticipantResponse</span><span class="tsd-signature-symbol">&gt;</span></li>
3394
+ <li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>identity<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">?: </span><a href="../modules.html#JSONValue" class="tsd-signature-type" data-tsd-kind="Type alias">JSONValue</a><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><a href="Participant.html" class="tsd-signature-type" data-tsd-kind="Class">Participant</a><span class="tsd-signature-symbol">&gt;</span></li>
3381
3395
  </ul>
3382
3396
  <ul class="tsd-descriptions">
3383
3397
  <li class="tsd-description">
@@ -3403,7 +3417,8 @@ img {
3403
3417
  </div>
3404
3418
  </li>
3405
3419
  </ul>
3406
- <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">ParticipantResponse</span><span class="tsd-signature-symbol">&gt;</span></h4>
3420
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Participant.html" class="tsd-signature-type" data-tsd-kind="Class">Participant</a><span class="tsd-signature-symbol">&gt;</span></h4>
3421
+ <p>The added participant.</p>
3407
3422
  </li>
3408
3423
  </ul>
3409
3424
  </section>
@@ -3411,7 +3426,7 @@ img {
3411
3426
  <a name="addNonChatParticipant" class="tsd-anchor"></a>
3412
3427
  <h3>add<wbr>Non<wbr>Chat<wbr>Participant</h3>
3413
3428
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3414
- <li class="tsd-signature tsd-kind-icon">add<wbr>Non<wbr>Chat<wbr>Participant<span class="tsd-signature-symbol">(</span>proxyAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">?: </span><a href="../modules.html#JSONValue" class="tsd-signature-type" data-tsd-kind="Type alias">JSONValue</a>, bindingOptions<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ParticipantBindingOptions</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">ParticipantResponse</span><span class="tsd-signature-symbol">&gt;</span></li>
3429
+ <li class="tsd-signature tsd-kind-icon">add<wbr>Non<wbr>Chat<wbr>Participant<span class="tsd-signature-symbol">(</span>proxyAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attributes<span class="tsd-signature-symbol">?: </span><a href="../modules.html#JSONValue" class="tsd-signature-type" data-tsd-kind="Type alias">JSONValue</a>, bindingOptions<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ParticipantBindingOptions</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><a href="Participant.html" class="tsd-signature-type" data-tsd-kind="Class">Participant</a><span class="tsd-signature-symbol">&gt;</span></li>
3415
3430
  </ul>
3416
3431
  <ul class="tsd-descriptions">
3417
3432
  <li class="tsd-description">
@@ -3445,11 +3460,13 @@ img {
3445
3460
  <li>
3446
3461
  <h5>bindingOptions: <span class="tsd-signature-type">ParticipantBindingOptions</span><span class="tsd-signature-symbol"> = {}</span></h5>
3447
3462
  <div class="tsd-comment tsd-typography">
3448
- <p>Options for adding email participants - name and CC/To level.</p>
3463
+ <p>Options for adding email participants - name and
3464
+ CC/To level.</p>
3449
3465
  </div>
3450
3466
  </li>
3451
3467
  </ul>
3452
- <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">ParticipantResponse</span><span class="tsd-signature-symbol">&gt;</span></h4>
3468
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Participant.html" class="tsd-signature-type" data-tsd-kind="Class">Participant</a><span class="tsd-signature-symbol">&gt;</span></h4>
3469
+ <p>The added participant.</p>
3453
3470
  </li>
3454
3471
  </ul>
3455
3472
  </section>
@@ -3465,9 +3482,10 @@ img {
3465
3482
  </aside>
3466
3483
  <div class="tsd-comment tsd-typography">
3467
3484
  <div class="lead">
3468
- <p>Advance the conversation&#39;s last read message index to the current read horizon.
3469
- Rejects if the user is not a participant of the conversation.
3470
- Last read message index is updated only if the new index value is higher than the previous.</p>
3485
+ <p>Advance the conversation&#39;s last read message index to the current read
3486
+ horizon. Rejects if the user is not a participant of the conversation. Last
3487
+ read message index is updated only if the new index value is higher than
3488
+ the previous.</p>
3471
3489
  </div>
3472
3490
  </div>
3473
3491
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -3542,20 +3560,23 @@ img {
3542
3560
  <li>
3543
3561
  <h5><span class="tsd-flag ts-flagOptional">Optional</span> pageSize: <span class="tsd-signature-type">number</span></h5>
3544
3562
  <div class="tsd-comment tsd-typography">
3545
- <p>Number of messages to return in a single chunk. Default is 30.</p>
3563
+ <p>Number of messages to return in a single chunk. Default is
3564
+ 30.</p>
3546
3565
  </div>
3547
3566
  </li>
3548
3567
  <li>
3549
3568
  <h5><span class="tsd-flag ts-flagOptional">Optional</span> anchor: <span class="tsd-signature-type">number</span></h5>
3550
3569
  <div class="tsd-comment tsd-typography">
3551
- <p>Index of the newest message to fetch. Default is from the end.</p>
3570
+ <p>Index of the newest message to fetch. Default is from the
3571
+ end.</p>
3552
3572
  </div>
3553
3573
  </li>
3554
3574
  <li>
3555
3575
  <h5><span class="tsd-flag ts-flagOptional">Optional</span> direction: <span class="tsd-signature-type">&quot;backwards&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;forward&quot;</span></h5>
3556
3576
  <div class="tsd-comment tsd-typography">
3557
- <p>Query direction. By default it queries backwards
3558
- from newer to older. The <code>&quot;forward&quot;</code> value will query in the opposite direction.</p>
3577
+ <p>Query direction. By default, it queries backwards
3578
+ from newer to older. The <code>&quot;forward&quot;</code> value will query in the opposite
3579
+ direction.</p>
3559
3580
  </div>
3560
3581
  </li>
3561
3582
  </ul>
@@ -3578,11 +3599,12 @@ img {
3578
3599
  <div class="lead">
3579
3600
  <p>Get the total message count in the conversation.</p>
3580
3601
  </div>
3581
- <p>This method is semi-realtime. This means that this data will be eventually correct,
3582
- but will also be possibly incorrect for a few seconds. The Conversations system does not
3583
- provide real time events for counter values changes.</p>
3584
- <p>This is useful for any UI badges, but it is not recommended to build any core application
3585
- logic based on these counters being accurate in real time.</p>
3602
+ <p>This method is semi-realtime. This means that this data will be eventually
3603
+ correct, but will also be possibly incorrect for a few seconds. The
3604
+ Conversations system does not provide real time events for counter values
3605
+ changes.</p>
3606
+ <p>This is useful for any UI badges, but it is not recommended to build any
3607
+ core application logic based on these counters being accurate in real time.</p>
3586
3608
  </div>
3587
3609
  <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">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
3588
3610
  </li>
@@ -3677,11 +3699,12 @@ img {
3677
3699
  <div class="lead">
3678
3700
  <p>Get conversation participants count.</p>
3679
3701
  </div>
3680
- <p>This method is semi-realtime. This means that this data will be eventually correct,
3681
- but will also be possibly incorrect for a few seconds. The Conversations system does not
3682
- provide real time events for counter values changes.</p>
3683
- <p>This is useful for any UI badges, but it is not recommended to build any core application
3684
- logic based on these counters being accurate in real time.</p>
3702
+ <p>This method is semi-realtime. This means that this data will be eventually
3703
+ correct, but will also be possibly incorrect for a few seconds. The
3704
+ Conversations system does not provide real time events for counter values
3705
+ changes.</p>
3706
+ <p>This is useful for any UI badges, but it is not recommended to build any
3707
+ core application logic based on these counters being accurate in real time.</p>
3685
3708
  </div>
3686
3709
  <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">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
3687
3710
  </li>
@@ -3699,17 +3722,18 @@ img {
3699
3722
  </aside>
3700
3723
  <div class="tsd-comment tsd-typography">
3701
3724
  <div class="lead">
3702
- <p>Get unread messages count for the user if they are a participant of this conversation.
3703
- Rejects if the user is not a participant of the conversation.</p>
3725
+ <p>Get unread messages count for the user if they are a participant of this
3726
+ conversation. Rejects if the user is not a participant of the conversation.</p>
3704
3727
  </div>
3705
3728
  <p>Use this method to obtain the number of unread messages together with
3706
3729
  <a href="Conversation.html#updateLastReadMessageIndex">Conversation.updateLastReadMessageIndex</a> instead of relying on the
3707
3730
  message indices which may have gaps. See <a href="Message.html#index">Message.index</a> for details.</p>
3708
- <p>This method is semi-realtime. This means that this data will be eventually correct,
3709
- but will also be possibly incorrect for a few seconds. The Conversations system does not
3710
- provide real time events for counter values changes.</p>
3711
- <p>This is useful for any UI badges, but it is not recommended to build any core application
3712
- logic based on these counters being accurate in real time.</p>
3731
+ <p>This method is semi-realtime. This means that this data will be eventually
3732
+ correct, but will also be possibly incorrect for a few seconds. The
3733
+ Conversations system does not provide real time events for counter values
3734
+ changes.</p>
3735
+ <p>This is useful for any UI badges, but it is not recommended to build any
3736
+ core application logic based on these counters being accurate in real time.</p>
3713
3737
  </div>
3714
3738
  <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">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
3715
3739
  </li>
@@ -3766,7 +3790,7 @@ img {
3766
3790
  <div class="tsd-comment tsd-typography">
3767
3791
  <div class="lead">
3768
3792
  <p>New interface to prepare for sending a message.
3769
- Use instead of <code>sendMessage</code>.</p>
3793
+ Use this instead of {@link Message.sendMessage}.</p>
3770
3794
  </div>
3771
3795
  </div>
3772
3796
  <h4 class="tsd-returns-title">Returns <a href="MessageBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">MessageBuilder</a></h4>
@@ -3824,7 +3848,8 @@ img {
3824
3848
  <h5>message: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FormData</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SendMediaOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SendMediaOptions</a></h5>
3825
3849
  <div class="tsd-comment tsd-typography">
3826
3850
  <p>Message body for the text message,
3827
- <code>FormData</code> or <a href="../interfaces/SendMediaOptions.html">SendMediaOptions</a> for media content. Sending FormData is supported only with the browser engine.</p>
3851
+ <code>FormData</code> or <a href="../interfaces/SendMediaOptions.html">SendMediaOptions</a> for media content. Sending FormData
3852
+ is supported only with the browser engine.</p>
3828
3853
  </div>
3829
3854
  </li>
3830
3855
  <li>
@@ -3857,7 +3882,8 @@ img {
3857
3882
  </aside>
3858
3883
  <div class="tsd-comment tsd-typography">
3859
3884
  <div class="lead">
3860
- <p>Set last read message index of the conversation to the index of the last known message.</p>
3885
+ <p>Set last read message index of the conversation to the index of the last
3886
+ known message.</p>
3861
3887
  </div>
3862
3888
  </div>
3863
3889
  <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">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
@@ -3925,8 +3951,10 @@ img {
3925
3951
  </aside>
3926
3952
  <div class="tsd-comment tsd-typography">
3927
3953
  <div class="lead">
3928
- <p>Send a notification to the server indicating that this client is currently typing in this conversation.
3929
- Typing ended notification is sent after a while automatically, but by calling this method again you ensure that typing ended is not received.</p>
3954
+ <p>Send a notification to the server indicating that this client is currently
3955
+ typing in this conversation. Typing ended notification is sent after a
3956
+ while automatically, but by calling this method again you ensure that
3957
+ typing ended is not received.</p>
3930
3958
  </div>
3931
3959
  </div>
3932
3960
  <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">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
@@ -4009,8 +4037,8 @@ img {
4009
4037
  <li>
4010
4038
  <h5>index: <span class="tsd-signature-type">number</span></h5>
4011
4039
  <div class="tsd-comment tsd-typography">
4012
- <p>Message index to set as last read.
4013
- If null is provided, then the behavior is identical to <a href="Conversation.html#setAllMessagesUnread">Conversation.setAllMessagesUnread</a>.</p>
4040
+ <p>Message index to set as last read. If null is provided, then
4041
+ the behavior is identical to <a href="Conversation.html#setAllMessagesUnread">Conversation.setAllMessagesUnread</a>.</p>
4014
4042
  </div>
4015
4043
  </li>
4016
4044
  </ul>
@@ -4039,7 +4067,8 @@ img {
4039
4067
  <li>
4040
4068
  <h5>uniqueName: <span class="tsd-signature-type">string</span></h5>
4041
4069
  <div class="tsd-comment tsd-typography">
4042
- <p>New unique name for the conversation. Setting unique name to null removes it.</p>
4070
+ <p>New unique name for the conversation. Setting unique name
4071
+ to null removes it.</p>
4043
4072
  </div>
4044
4073
  </li>
4045
4074
  </ul>
@@ -2871,7 +2871,7 @@ img {
2871
2871
  <a name="getContentTemporaryUrl" class="tsd-anchor"></a>
2872
2872
  <h3>get<wbr>Content<wbr>Temporary<wbr>Url</h3>
2873
2873
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2874
- <li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Temporary<wbr>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
2874
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Temporary<wbr>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
2875
2875
  </ul>
2876
2876
  <ul class="tsd-descriptions">
2877
2877
  <li class="tsd-description">
@@ -2885,7 +2885,7 @@ img {
2885
2885
  If the URL becomes expired, you need to request a new one.
2886
2886
  Each call to this function produces a new temporary URL.</p>
2887
2887
  </div>
2888
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
2888
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
2889
2889
  </li>
2890
2890
  </ul>
2891
2891
  </section>
@@ -3308,7 +3308,7 @@ img {
3308
3308
  <a name="getTemporaryContentUrlsForAttachedMedia" class="tsd-anchor"></a>
3309
3309
  <h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media</h3>
3310
3310
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3311
- <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3311
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3312
3312
  </ul>
3313
3313
  <ul class="tsd-descriptions">
3314
3314
  <li class="tsd-description">
@@ -3319,7 +3319,7 @@ img {
3319
3319
  <p>Get content URLs for all media attached to the message.</p>
3320
3320
  </div>
3321
3321
  </div>
3322
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3322
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3323
3323
  </li>
3324
3324
  </ul>
3325
3325
  </section>
@@ -3327,7 +3327,7 @@ img {
3327
3327
  <a name="getTemporaryContentUrlsForMedia" class="tsd-anchor"></a>
3328
3328
  <h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media</h3>
3329
3329
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3330
- <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3330
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3331
3331
  </ul>
3332
3332
  <ul class="tsd-descriptions">
3333
3333
  <li class="tsd-description">
@@ -3347,7 +3347,7 @@ img {
3347
3347
  </div>
3348
3348
  </li>
3349
3349
  </ul>
3350
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3350
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3351
3351
  </li>
3352
3352
  </ul>
3353
3353
  </section>
@@ -3355,7 +3355,7 @@ img {
3355
3355
  <a name="getTemporaryContentUrlsForMediaSids" class="tsd-anchor"></a>
3356
3356
  <h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids</h3>
3357
3357
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3358
- <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<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-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3358
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<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-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
3359
3359
  </ul>
3360
3360
  <ul class="tsd-descriptions">
3361
3361
  <li class="tsd-description">
@@ -3375,7 +3375,7 @@ img {
3375
3375
  </div>
3376
3376
  </li>
3377
3377
  </ul>
3378
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3378
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
3379
3379
  </li>
3380
3380
  </ul>
3381
3381
  </section>
@@ -2832,7 +2832,7 @@ img {
2832
2832
  <a name="buildAndSend" class="tsd-anchor"></a>
2833
2833
  <h3>build<wbr>And<wbr>Send</h3>
2834
2834
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2835
- <li class="tsd-signature tsd-kind-icon">build<wbr>And<wbr>Send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
2835
+ <li class="tsd-signature tsd-kind-icon">build<wbr>And<wbr>Send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
2836
2836
  </ul>
2837
2837
  <ul class="tsd-descriptions">
2838
2838
  <li class="tsd-description">
@@ -2843,7 +2843,7 @@ img {
2843
2843
  <p>Prepares a message and sends it to the conversation.</p>
2844
2844
  </div>
2845
2845
  </div>
2846
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
2846
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
2847
2847
  </li>
2848
2848
  </ul>
2849
2849
  </section>
@@ -2843,7 +2843,7 @@ img {
2843
2843
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
2844
2844
  <a name="type" class="tsd-anchor"></a>
2845
2845
  <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> type</h3>
2846
- <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <a href="../modules.html#PushNotificationType" class="tsd-signature-type" data-tsd-kind="Type alias">PushNotificationType</a></div>
2846
+ <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PushNotificationType</span></div>
2847
2847
  <aside class="tsd-sources">
2848
2848
  </aside>
2849
2849
  <div class="tsd-comment tsd-typography">
@@ -2748,7 +2748,7 @@ img {
2748
2748
  <a name="send" class="tsd-anchor"></a>
2749
2749
  <h3>send</h3>
2750
2750
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2751
- <li class="tsd-signature tsd-kind-icon">send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
2751
+ <li class="tsd-signature tsd-kind-icon">send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
2752
2752
  </ul>
2753
2753
  <ul class="tsd-descriptions">
2754
2754
  <li class="tsd-description">
@@ -2759,7 +2759,7 @@ img {
2759
2759
  <p>Send the prepared message to the conversation.</p>
2760
2760
  </div>
2761
2761
  </div>
2762
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CancellablePromise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
2762
+ <h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
2763
2763
  <p>Index of the new message in the conversation.</p>
2764
2764
  </li>
2765
2765
  </ul>