@twilio/conversations 2.2.2-rc.4 → 2.3.0-rc.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.
package/docs/modules.html CHANGED
@@ -2711,6 +2711,12 @@ img {
2711
2711
  <li class=" tsd-kind-class">
2712
2712
  <a href="classes/Client.html" class="tsd-kind-icon">Client</a>
2713
2713
  </li>
2714
+ <li class=" tsd-kind-class">
2715
+ <a href="classes/ContentTemplate.html" class="tsd-kind-icon">Content<wbr>Template</a>
2716
+ </li>
2717
+ <li class=" tsd-kind-class">
2718
+ <a href="classes/ContentTemplateVariable.html" class="tsd-kind-icon">Content<wbr>Template<wbr>Variable</a>
2719
+ </li>
2714
2720
  <li class=" tsd-kind-class">
2715
2721
  <a href="classes/Conversation.html" class="tsd-kind-icon">Conversation</a>
2716
2722
  </li>
@@ -2786,6 +2792,54 @@ img {
2786
2792
  <li class=" tsd-kind-type-alias">
2787
2793
  <a href="modules.html#ConnectionState" class="tsd-kind-icon">Connection<wbr>State</a>
2788
2794
  </li>
2795
+ <li class=" tsd-kind-type-alias">
2796
+ <a href="modules.html#ContentData" class="tsd-kind-icon">Content<wbr>Data</a>
2797
+ </li>
2798
+ <li class=" tsd-kind-type-alias">
2799
+ <a href="modules.html#ContentDataAction" class="tsd-kind-icon">Content<wbr>Data<wbr>Action</a>
2800
+ </li>
2801
+ <li class=" tsd-kind-type-alias">
2802
+ <a href="modules.html#ContentDataActionOther" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Other</a>
2803
+ </li>
2804
+ <li class=" tsd-kind-type-alias">
2805
+ <a href="modules.html#ContentDataActionPhone" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Phone</a>
2806
+ </li>
2807
+ <li class=" tsd-kind-type-alias">
2808
+ <a href="modules.html#ContentDataActionReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Reply</a>
2809
+ </li>
2810
+ <li class=" tsd-kind-type-alias">
2811
+ <a href="modules.html#ContentDataActionUrl" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Url</a>
2812
+ </li>
2813
+ <li class=" tsd-kind-type-alias">
2814
+ <a href="modules.html#ContentDataCallToAction" class="tsd-kind-icon">Content<wbr>Data<wbr>Call<wbr>ToAction</a>
2815
+ </li>
2816
+ <li class=" tsd-kind-type-alias">
2817
+ <a href="modules.html#ContentDataCard" class="tsd-kind-icon">Content<wbr>Data<wbr>Card</a>
2818
+ </li>
2819
+ <li class=" tsd-kind-type-alias">
2820
+ <a href="modules.html#ContentDataListItem" class="tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Item</a>
2821
+ </li>
2822
+ <li class=" tsd-kind-type-alias">
2823
+ <a href="modules.html#ContentDataListPicker" class="tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Picker</a>
2824
+ </li>
2825
+ <li class=" tsd-kind-type-alias">
2826
+ <a href="modules.html#ContentDataLocation" class="tsd-kind-icon">Content<wbr>Data<wbr>Location</a>
2827
+ </li>
2828
+ <li class=" tsd-kind-type-alias">
2829
+ <a href="modules.html#ContentDataMedia" class="tsd-kind-icon">Content<wbr>Data<wbr>Media</a>
2830
+ </li>
2831
+ <li class=" tsd-kind-type-alias">
2832
+ <a href="modules.html#ContentDataOther" class="tsd-kind-icon">Content<wbr>Data<wbr>Other</a>
2833
+ </li>
2834
+ <li class=" tsd-kind-type-alias">
2835
+ <a href="modules.html#ContentDataQuickReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Quick<wbr>Reply</a>
2836
+ </li>
2837
+ <li class=" tsd-kind-type-alias">
2838
+ <a href="modules.html#ContentDataReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Reply</a>
2839
+ </li>
2840
+ <li class=" tsd-kind-type-alias">
2841
+ <a href="modules.html#ContentDataText" class="tsd-kind-icon">Content<wbr>Data<wbr>Text</a>
2842
+ </li>
2789
2843
  <li class=" tsd-kind-type-alias">
2790
2844
  <a href="modules.html#ConversationStatus" class="tsd-kind-icon">Conversation<wbr>Status</a>
2791
2845
  </li>
@@ -2925,6 +2979,8 @@ img {
2925
2979
  <li class="tsd-kind-class"><a href="classes/AggregatedDeliveryReceipt.html" class="tsd-kind-icon">Aggregated<wbr>Delivery<wbr>Receipt</a></li>
2926
2980
  <li class="tsd-kind-class tsd-has-type-parameter"><a href="classes/CancellablePromise.html" class="tsd-kind-icon">Cancellable<wbr>Promise</a></li>
2927
2981
  <li class="tsd-kind-class"><a href="classes/Client.html" class="tsd-kind-icon">Client</a></li>
2982
+ <li class="tsd-kind-class"><a href="classes/ContentTemplate.html" class="tsd-kind-icon">Content<wbr>Template</a></li>
2983
+ <li class="tsd-kind-class"><a href="classes/ContentTemplateVariable.html" class="tsd-kind-icon">Content<wbr>Template<wbr>Variable</a></li>
2928
2984
  <li class="tsd-kind-class"><a href="classes/Conversation.html" class="tsd-kind-icon">Conversation</a></li>
2929
2985
  <li class="tsd-kind-class"><a href="classes/DetailedDeliveryReceipt.html" class="tsd-kind-icon">Detailed<wbr>Delivery<wbr>Receipt</a></li>
2930
2986
  <li class="tsd-kind-class"><a href="classes/Media.html" class="tsd-kind-icon">Media</a></li>
@@ -2960,6 +3016,22 @@ img {
2960
3016
  <h3>Type aliases</h3>
2961
3017
  <ul class="tsd-index-list">
2962
3018
  <li class="tsd-kind-type-alias"><a href="modules.html#ConnectionState" class="tsd-kind-icon">Connection<wbr>State</a></li>
3019
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentData" class="tsd-kind-icon">Content<wbr>Data</a></li>
3020
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataAction" class="tsd-kind-icon">Content<wbr>Data<wbr>Action</a></li>
3021
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataActionOther" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Other</a></li>
3022
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataActionPhone" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Phone</a></li>
3023
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataActionReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Reply</a></li>
3024
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataActionUrl" class="tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Url</a></li>
3025
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataCallToAction" class="tsd-kind-icon">Content<wbr>Data<wbr>Call<wbr>ToAction</a></li>
3026
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataCard" class="tsd-kind-icon">Content<wbr>Data<wbr>Card</a></li>
3027
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataListItem" class="tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Item</a></li>
3028
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataListPicker" class="tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Picker</a></li>
3029
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataLocation" class="tsd-kind-icon">Content<wbr>Data<wbr>Location</a></li>
3030
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataMedia" class="tsd-kind-icon">Content<wbr>Data<wbr>Media</a></li>
3031
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataOther" class="tsd-kind-icon">Content<wbr>Data<wbr>Other</a></li>
3032
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataQuickReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Quick<wbr>Reply</a></li>
3033
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataReply" class="tsd-kind-icon">Content<wbr>Data<wbr>Reply</a></li>
3034
+ <li class="tsd-kind-type-alias"><a href="modules.html#ContentDataText" class="tsd-kind-icon">Content<wbr>Data<wbr>Text</a></li>
2963
3035
  <li class="tsd-kind-type-alias"><a href="modules.html#ConversationStatus" class="tsd-kind-icon">Conversation<wbr>Status</a></li>
2964
3036
  <li class="tsd-kind-type-alias"><a href="modules.html#ConversationUpdateReason" class="tsd-kind-icon">Conversation<wbr>Update<wbr>Reason</a></li>
2965
3037
  <li class="tsd-kind-type-alias"><a href="modules.html#DeliveryAmount" class="tsd-kind-icon">Delivery<wbr>Amount</a></li>
@@ -3005,6 +3077,747 @@ img {
3005
3077
  </div>
3006
3078
  </div>
3007
3079
  </section>
3080
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3081
+ <a name="ContentData" class="tsd-anchor"></a>
3082
+ <h3>Content<wbr>Data</h3>
3083
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<span class="tsd-signature-symbol">:</span> <a href="modules.html#ContentDataText" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataText</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataMedia" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataMedia</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataLocation" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataLocation</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataQuickReply" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataQuickReply</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataCallToAction" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataCallToAction</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataListPicker" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataListPicker</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataCard" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataCard</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataOther" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataOther</a></div>
3084
+ <aside class="tsd-sources">
3085
+ </aside>
3086
+ <div class="tsd-comment tsd-typography">
3087
+ <div class="lead">
3088
+ <p>A union of possible data types in rich content templates.</p>
3089
+ </div>
3090
+ </div>
3091
+ </section>
3092
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3093
+ <a name="ContentDataAction" class="tsd-anchor"></a>
3094
+ <h3>Content<wbr>Data<wbr>Action</h3>
3095
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Action<span class="tsd-signature-symbol">:</span> <a href="modules.html#ContentDataActionUrl" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataActionUrl</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataActionPhone" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataActionPhone</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataActionReply" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataActionReply</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#ContentDataActionOther" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataActionOther</a></div>
3096
+ <aside class="tsd-sources">
3097
+ </aside>
3098
+ <div class="tsd-comment tsd-typography">
3099
+ <div class="lead">
3100
+ <p>A union of possible actions used in <a href="modules.html#ContentDataCallToAction">ContentDataCallToAction</a> and
3101
+ <a href="modules.html#ContentDataCard">ContentDataCard</a>.</p>
3102
+ </div>
3103
+ </div>
3104
+ </section>
3105
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3106
+ <a name="ContentDataActionOther" class="tsd-anchor"></a>
3107
+ <h3>Content<wbr>Data<wbr>Action<wbr>Other</h3>
3108
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Other<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;other&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3109
+ <aside class="tsd-sources">
3110
+ </aside>
3111
+ <div class="tsd-comment tsd-typography">
3112
+ <div class="lead">
3113
+ <p>Used for unknown action types which aren&#39;t present in the current version of
3114
+ the Conversations SDK.</p>
3115
+ </div>
3116
+ </div>
3117
+ <div class="tsd-type-declaration">
3118
+ <h4>Type declaration</h4>
3119
+ <ul class="tsd-parameters">
3120
+ <li class="tsd-parameter">
3121
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3122
+ <div class="tsd-comment tsd-typography">
3123
+ <div class="lead">
3124
+ <p>Full data as a stringified JSON. This could be used for future content
3125
+ types and fields which are not yet supported by the newest version of
3126
+ the Conversations SDK, or for using newer types in the older versions of
3127
+ the SDK.</p>
3128
+ </div>
3129
+ </div>
3130
+ </li>
3131
+ <li class="tsd-parameter">
3132
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;other&quot;</span></h5>
3133
+ <div class="tsd-comment tsd-typography">
3134
+ <div class="lead">
3135
+ <p>The type discriminant.</p>
3136
+ </div>
3137
+ </div>
3138
+ </li>
3139
+ </ul>
3140
+ </div>
3141
+ </section>
3142
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3143
+ <a name="ContentDataActionPhone" class="tsd-anchor"></a>
3144
+ <h3>Content<wbr>Data<wbr>Action<wbr>Phone</h3>
3145
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Phone<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>phone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;phone&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3146
+ <aside class="tsd-sources">
3147
+ </aside>
3148
+ <div class="tsd-comment tsd-typography">
3149
+ <div class="lead">
3150
+ <p>Shows a button that calls a phone number.</p>
3151
+ </div>
3152
+ </div>
3153
+ <div class="tsd-type-declaration">
3154
+ <h4>Type declaration</h4>
3155
+ <ul class="tsd-parameters">
3156
+ <li class="tsd-parameter">
3157
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> phone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3158
+ <div class="tsd-comment tsd-typography">
3159
+ <div class="lead">
3160
+ <p>Phone number to call when the recipient taps the button.</p>
3161
+ </div>
3162
+ </div>
3163
+ </li>
3164
+ <li class="tsd-parameter">
3165
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3166
+ <div class="tsd-comment tsd-typography">
3167
+ <div class="lead">
3168
+ <p>Full data as a stringified JSON. This could be used for future content
3169
+ types and fields which are not yet supported by the newest version of
3170
+ the Conversations SDK, or for using newer types in the older versions of
3171
+ the SDK.</p>
3172
+ </div>
3173
+ </div>
3174
+ </li>
3175
+ <li class="tsd-parameter">
3176
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3177
+ <div class="tsd-comment tsd-typography">
3178
+ <div class="lead">
3179
+ <p>Display value for the action.</p>
3180
+ </div>
3181
+ </div>
3182
+ </li>
3183
+ <li class="tsd-parameter">
3184
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;phone&quot;</span></h5>
3185
+ <div class="tsd-comment tsd-typography">
3186
+ <div class="lead">
3187
+ <p>The type discriminant.</p>
3188
+ </div>
3189
+ </div>
3190
+ </li>
3191
+ </ul>
3192
+ </div>
3193
+ </section>
3194
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3195
+ <a name="ContentDataActionReply" class="tsd-anchor"></a>
3196
+ <h3>Content<wbr>Data<wbr>Action<wbr>Reply</h3>
3197
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Reply<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;reply&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3198
+ <aside class="tsd-sources">
3199
+ </aside>
3200
+ <div class="tsd-comment tsd-typography">
3201
+ <div class="lead">
3202
+ <p>Shows a button that sends back a predefined text.</p>
3203
+ </div>
3204
+ </div>
3205
+ <div class="tsd-type-declaration">
3206
+ <h4>Type declaration</h4>
3207
+ <ul class="tsd-parameters">
3208
+ <li class="tsd-parameter">
3209
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3210
+ <div class="tsd-comment tsd-typography">
3211
+ <div class="lead">
3212
+ <p>Postback payload. This field is not visible to the end user.</p>
3213
+ </div>
3214
+ </div>
3215
+ </li>
3216
+ <li class="tsd-parameter">
3217
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
3218
+ <div class="tsd-comment tsd-typography">
3219
+ <div class="lead">
3220
+ <p>Index for the action.</p>
3221
+ </div>
3222
+ </div>
3223
+ </li>
3224
+ <li class="tsd-parameter">
3225
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3226
+ <div class="tsd-comment tsd-typography">
3227
+ <div class="lead">
3228
+ <p>Full data as a stringified JSON. This could be used for future content
3229
+ types and fields which are not yet supported by the newest version of
3230
+ the Conversations SDK, or for using newer types in the older versions of
3231
+ the SDK.</p>
3232
+ </div>
3233
+ </div>
3234
+ </li>
3235
+ <li class="tsd-parameter">
3236
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3237
+ <div class="tsd-comment tsd-typography">
3238
+ <div class="lead">
3239
+ <p>Display value for the action. This is the message that will be sent back
3240
+ when the user taps on the button.</p>
3241
+ </div>
3242
+ </div>
3243
+ </li>
3244
+ <li class="tsd-parameter">
3245
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;reply&quot;</span></h5>
3246
+ <div class="tsd-comment tsd-typography">
3247
+ <div class="lead">
3248
+ <p>The type discriminant.</p>
3249
+ </div>
3250
+ </div>
3251
+ </li>
3252
+ </ul>
3253
+ </div>
3254
+ </section>
3255
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3256
+ <a name="ContentDataActionUrl" class="tsd-anchor"></a>
3257
+ <h3>Content<wbr>Data<wbr>Action<wbr>Url</h3>
3258
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Action<wbr>Url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;url&quot;</span><span class="tsd-signature-symbol">; </span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
3259
+ <aside class="tsd-sources">
3260
+ </aside>
3261
+ <div class="tsd-comment tsd-typography">
3262
+ <div class="lead">
3263
+ <p>Shows a button that redirects recipient to a predefined URL.</p>
3264
+ </div>
3265
+ </div>
3266
+ <div class="tsd-type-declaration">
3267
+ <h4>Type declaration</h4>
3268
+ <ul class="tsd-parameters">
3269
+ <li class="tsd-parameter">
3270
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3271
+ <div class="tsd-comment tsd-typography">
3272
+ <div class="lead">
3273
+ <p>Full data as a stringified JSON. This could be used for future content
3274
+ types and fields which are not yet supported by the newest version of
3275
+ the Conversations SDK, or for using newer types in the older versions of
3276
+ the SDK.</p>
3277
+ </div>
3278
+ </div>
3279
+ </li>
3280
+ <li class="tsd-parameter">
3281
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3282
+ <div class="tsd-comment tsd-typography">
3283
+ <div class="lead">
3284
+ <p>Display value for the action.</p>
3285
+ </div>
3286
+ </div>
3287
+ </li>
3288
+ <li class="tsd-parameter">
3289
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;url&quot;</span></h5>
3290
+ <div class="tsd-comment tsd-typography">
3291
+ <div class="lead">
3292
+ <p>The type discriminant.</p>
3293
+ </div>
3294
+ </div>
3295
+ </li>
3296
+ <li class="tsd-parameter">
3297
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3298
+ <div class="tsd-comment tsd-typography">
3299
+ <div class="lead">
3300
+ <p>URL to direct to when the recipient taps the button.</p>
3301
+ </div>
3302
+ </div>
3303
+ </li>
3304
+ </ul>
3305
+ </div>
3306
+ </section>
3307
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3308
+ <a name="ContentDataCallToAction" class="tsd-anchor"></a>
3309
+ <h3>Content<wbr>Data<wbr>Call<wbr>ToAction</h3>
3310
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Call<wbr>ToAction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>actions<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataAction" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataAction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;callToAction&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3311
+ <aside class="tsd-sources">
3312
+ </aside>
3313
+ <div class="tsd-comment tsd-typography">
3314
+ <div class="lead">
3315
+ <p>Buttons that let recipients tap to trigger actions such as launching a
3316
+ website or making a phone call. Represents the twilio/call-to-action content
3317
+ type.</p>
3318
+ </div>
3319
+ </div>
3320
+ <div class="tsd-type-declaration">
3321
+ <h4>Type declaration</h4>
3322
+ <ul class="tsd-parameters">
3323
+ <li class="tsd-parameter">
3324
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> actions<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataAction" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataAction</a><span class="tsd-signature-symbol">[]</span></h5>
3325
+ <div class="tsd-comment tsd-typography">
3326
+ <div class="lead">
3327
+ <p>Buttons that recipients can tap on to act on the message.</p>
3328
+ </div>
3329
+ </div>
3330
+ </li>
3331
+ <li class="tsd-parameter">
3332
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3333
+ <div class="tsd-comment tsd-typography">
3334
+ <div class="lead">
3335
+ <p>The text of the message you want to send. This is included as a regular
3336
+ text message.</p>
3337
+ </div>
3338
+ </div>
3339
+ </li>
3340
+ <li class="tsd-parameter">
3341
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3342
+ <div class="tsd-comment tsd-typography">
3343
+ <div class="lead">
3344
+ <p>Full data as a stringified JSON. This could be used for future content
3345
+ types and fields which are not yet supported by the newest version of
3346
+ the Conversations SDK, or for using newer types in the older versions of
3347
+ the SDK.</p>
3348
+ </div>
3349
+ </div>
3350
+ </li>
3351
+ <li class="tsd-parameter">
3352
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;callToAction&quot;</span></h5>
3353
+ <div class="tsd-comment tsd-typography">
3354
+ <div class="lead">
3355
+ <p>The type discriminant.</p>
3356
+ </div>
3357
+ </div>
3358
+ </li>
3359
+ </ul>
3360
+ </div>
3361
+ </section>
3362
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3363
+ <a name="ContentDataCard" class="tsd-anchor"></a>
3364
+ <h3>Content<wbr>Data<wbr>Card</h3>
3365
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Card<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>actions<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataAction" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataAction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>media<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>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>subtitle<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;card&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3366
+ <aside class="tsd-sources">
3367
+ </aside>
3368
+ <div class="tsd-comment tsd-typography">
3369
+ <div class="lead">
3370
+ <p>Shows a menu of up to 10 options, which offers a simple way for users to make
3371
+ a selection. Represents the twilio/card content type.</p>
3372
+ </div>
3373
+ </div>
3374
+ <div class="tsd-type-declaration">
3375
+ <h4>Type declaration</h4>
3376
+ <ul class="tsd-parameters">
3377
+ <li class="tsd-parameter">
3378
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> actions<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataAction" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataAction</a><span class="tsd-signature-symbol">[]</span></h5>
3379
+ <div class="tsd-comment tsd-typography">
3380
+ <div class="lead">
3381
+ <p>Buttons that the recipients can tap on to act on the message.</p>
3382
+ </div>
3383
+ </div>
3384
+ </li>
3385
+ <li class="tsd-parameter">
3386
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> media<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
3387
+ <div class="tsd-comment tsd-typography">
3388
+ <div class="lead">
3389
+ <p>URLs of the media to send with the message.</p>
3390
+ </div>
3391
+ </div>
3392
+ </li>
3393
+ <li class="tsd-parameter">
3394
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3395
+ <div class="tsd-comment tsd-typography">
3396
+ <div class="lead">
3397
+ <p>Full data as a stringified JSON. This could be used for future content
3398
+ types and fields which are not yet supported by the newest version of
3399
+ the Conversations SDK, or for using newer types in the older versions of
3400
+ the SDK.</p>
3401
+ </div>
3402
+ </div>
3403
+ </li>
3404
+ <li class="tsd-parameter">
3405
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> subtitle<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3406
+ <div class="tsd-comment tsd-typography">
3407
+ <div class="lead">
3408
+ <p>Subtitle of the card.</p>
3409
+ </div>
3410
+ </div>
3411
+ </li>
3412
+ <li class="tsd-parameter">
3413
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3414
+ <div class="tsd-comment tsd-typography">
3415
+ <div class="lead">
3416
+ <p>Title of the card.</p>
3417
+ </div>
3418
+ </div>
3419
+ </li>
3420
+ <li class="tsd-parameter">
3421
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;card&quot;</span></h5>
3422
+ <div class="tsd-comment tsd-typography">
3423
+ <div class="lead">
3424
+ <p>The type discriminant.</p>
3425
+ </div>
3426
+ </div>
3427
+ </li>
3428
+ </ul>
3429
+ </div>
3430
+ </section>
3431
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3432
+ <a name="ContentDataListItem" class="tsd-anchor"></a>
3433
+ <h3>Content<wbr>Data<wbr>List<wbr>Item</h3>
3434
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Item<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
3435
+ <aside class="tsd-sources">
3436
+ </aside>
3437
+ <div class="tsd-comment tsd-typography">
3438
+ <div class="lead">
3439
+ <p>Represents an item in the <a href="modules.html#ContentDataListPicker">ContentDataListPicker</a>.</p>
3440
+ </div>
3441
+ </div>
3442
+ <div class="tsd-type-declaration">
3443
+ <h4>Type declaration</h4>
3444
+ <ul class="tsd-parameters">
3445
+ <li class="tsd-parameter">
3446
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> description<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3447
+ <div class="tsd-comment tsd-typography">
3448
+ <div class="lead">
3449
+ <p>Description of the item.</p>
3450
+ </div>
3451
+ </div>
3452
+ </li>
3453
+ <li class="tsd-parameter">
3454
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3455
+ <div class="tsd-comment tsd-typography">
3456
+ <div class="lead">
3457
+ <p>Unique item identifier. Not visible to the recipient.</p>
3458
+ </div>
3459
+ </div>
3460
+ </li>
3461
+ <li class="tsd-parameter">
3462
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3463
+ <div class="tsd-comment tsd-typography">
3464
+ <div class="lead">
3465
+ <p>Display value of the item.</p>
3466
+ </div>
3467
+ </div>
3468
+ </li>
3469
+ </ul>
3470
+ </div>
3471
+ </section>
3472
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3473
+ <a name="ContentDataListPicker" class="tsd-anchor"></a>
3474
+ <h3>Content<wbr>Data<wbr>List<wbr>Picker</h3>
3475
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>List<wbr>Picker<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>button<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>items<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataListItem" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataListItem</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;listPicker&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3476
+ <aside class="tsd-sources">
3477
+ </aside>
3478
+ <div class="tsd-comment tsd-typography">
3479
+ <div class="lead">
3480
+ <p>Shows a menu of up to 10 options, which offers a simple way for users to make
3481
+ a selection. Represents the twilio/list-picker content type.</p>
3482
+ </div>
3483
+ </div>
3484
+ <div class="tsd-type-declaration">
3485
+ <h4>Type declaration</h4>
3486
+ <ul class="tsd-parameters">
3487
+ <li class="tsd-parameter">
3488
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3489
+ <div class="tsd-comment tsd-typography">
3490
+ <div class="lead">
3491
+ <p>The text of the message you want to send. This is rendered as the body of
3492
+ the message.</p>
3493
+ </div>
3494
+ </div>
3495
+ </li>
3496
+ <li class="tsd-parameter">
3497
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> button<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3498
+ <div class="tsd-comment tsd-typography">
3499
+ <div class="lead">
3500
+ <p>Display value of the primary button.</p>
3501
+ </div>
3502
+ </div>
3503
+ </li>
3504
+ <li class="tsd-parameter">
3505
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> items<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataListItem" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataListItem</a><span class="tsd-signature-symbol">[]</span></h5>
3506
+ <div class="tsd-comment tsd-typography">
3507
+ <div class="lead">
3508
+ <p>List item objects displayed in the list. See <a href="modules.html#ContentDataListItem">ContentDataListItem</a>.</p>
3509
+ </div>
3510
+ </div>
3511
+ </li>
3512
+ <li class="tsd-parameter">
3513
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3514
+ <div class="tsd-comment tsd-typography">
3515
+ <div class="lead">
3516
+ <p>Full data as a stringified JSON. This could be used for future content
3517
+ types and fields which are not yet supported by the newest version of
3518
+ the Conversations SDK, or for using newer types in the older versions of
3519
+ the SDK.</p>
3520
+ </div>
3521
+ </div>
3522
+ </li>
3523
+ <li class="tsd-parameter">
3524
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;listPicker&quot;</span></h5>
3525
+ <div class="tsd-comment tsd-typography">
3526
+ <div class="lead">
3527
+ <p>The type discriminant.</p>
3528
+ </div>
3529
+ </div>
3530
+ </li>
3531
+ </ul>
3532
+ </div>
3533
+ </section>
3534
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3535
+ <a name="ContentDataLocation" class="tsd-anchor"></a>
3536
+ <h3>Content<wbr>Data<wbr>Location</h3>
3537
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Location<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>label<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>latitude<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>longitude<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;location&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3538
+ <aside class="tsd-sources">
3539
+ </aside>
3540
+ <div class="tsd-comment tsd-typography">
3541
+ <div class="lead">
3542
+ <p>Contains a location pin and an optional label, which can be used to enhance
3543
+ delivery notifications or connect recipients to physical experiences you
3544
+ offer. Represents the twilio/location content type.</p>
3545
+ </div>
3546
+ </div>
3547
+ <div class="tsd-type-declaration">
3548
+ <h4>Type declaration</h4>
3549
+ <ul class="tsd-parameters">
3550
+ <li class="tsd-parameter">
3551
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> label<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3552
+ <div class="tsd-comment tsd-typography">
3553
+ <div class="lead">
3554
+ <p>The label to be displayed to the end user alongside the location pin.</p>
3555
+ </div>
3556
+ </div>
3557
+ </li>
3558
+ <li class="tsd-parameter">
3559
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> latitude<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
3560
+ <div class="tsd-comment tsd-typography">
3561
+ <div class="lead">
3562
+ <p>The latitude value of the location pin you want to send.</p>
3563
+ </div>
3564
+ </div>
3565
+ </li>
3566
+ <li class="tsd-parameter">
3567
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> longitude<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
3568
+ <div class="tsd-comment tsd-typography">
3569
+ <div class="lead">
3570
+ <p>The longitude value of the location pin you want to send.</p>
3571
+ </div>
3572
+ </div>
3573
+ </li>
3574
+ <li class="tsd-parameter">
3575
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3576
+ <div class="tsd-comment tsd-typography">
3577
+ <div class="lead">
3578
+ <p>Full data as a stringified JSON. This could be used for future content
3579
+ types and fields which are not yet supported by the newest version of
3580
+ the Conversations SDK, or for using newer types in the older versions of
3581
+ the SDK.</p>
3582
+ </div>
3583
+ </div>
3584
+ </li>
3585
+ <li class="tsd-parameter">
3586
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;location&quot;</span></h5>
3587
+ <div class="tsd-comment tsd-typography">
3588
+ <div class="lead">
3589
+ <p>The type discriminant.</p>
3590
+ </div>
3591
+ </div>
3592
+ </li>
3593
+ </ul>
3594
+ </div>
3595
+ </section>
3596
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3597
+ <a name="ContentDataMedia" class="tsd-anchor"></a>
3598
+ <h3>Content<wbr>Data<wbr>Media</h3>
3599
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Media<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>body<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>media<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>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;media&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3600
+ <aside class="tsd-sources">
3601
+ </aside>
3602
+ <div class="tsd-comment tsd-typography">
3603
+ <div class="lead">
3604
+ <p>Used to send file attachments, or to send long texts via MMS in the US and
3605
+ Canada. Represents the twilio/media content type.</p>
3606
+ </div>
3607
+ </div>
3608
+ <div class="tsd-type-declaration">
3609
+ <h4>Type declaration</h4>
3610
+ <ul class="tsd-parameters">
3611
+ <li class="tsd-parameter">
3612
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> body<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3613
+ <div class="tsd-comment tsd-typography">
3614
+ <div class="lead">
3615
+ <p>The text of the message you want to send.</p>
3616
+ </div>
3617
+ </div>
3618
+ </li>
3619
+ <li class="tsd-parameter">
3620
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> media<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
3621
+ <div class="tsd-comment tsd-typography">
3622
+ <div class="lead">
3623
+ <p>URLs of the media you want to send.</p>
3624
+ </div>
3625
+ </div>
3626
+ </li>
3627
+ <li class="tsd-parameter">
3628
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3629
+ <div class="tsd-comment tsd-typography">
3630
+ <div class="lead">
3631
+ <p>Full data as a stringified JSON. This could be used for future content
3632
+ types and fields which are not yet supported by the newest version of
3633
+ the Conversations SDK, or for using newer types in the older versions of
3634
+ the SDK.</p>
3635
+ </div>
3636
+ </div>
3637
+ </li>
3638
+ <li class="tsd-parameter">
3639
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;media&quot;</span></h5>
3640
+ <div class="tsd-comment tsd-typography">
3641
+ <div class="lead">
3642
+ <p>The type discriminant.</p>
3643
+ </div>
3644
+ </div>
3645
+ </li>
3646
+ </ul>
3647
+ </div>
3648
+ </section>
3649
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3650
+ <a name="ContentDataOther" class="tsd-anchor"></a>
3651
+ <h3>Content<wbr>Data<wbr>Other</h3>
3652
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Other<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;other&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3653
+ <aside class="tsd-sources">
3654
+ </aside>
3655
+ <div class="tsd-comment tsd-typography">
3656
+ <div class="lead">
3657
+ <p>Used for unknown content types which aren&#39;t present in the current version of
3658
+ the Conversations SDK.</p>
3659
+ </div>
3660
+ </div>
3661
+ <div class="tsd-type-declaration">
3662
+ <h4>Type declaration</h4>
3663
+ <ul class="tsd-parameters">
3664
+ <li class="tsd-parameter">
3665
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3666
+ <div class="tsd-comment tsd-typography">
3667
+ <div class="lead">
3668
+ <p>Full data as a stringified JSON. This could be used for future content
3669
+ types and fields which are not yet supported by the newest version of
3670
+ the Conversations SDK, or for using newer types in the older versions of
3671
+ the SDK.</p>
3672
+ </div>
3673
+ </div>
3674
+ </li>
3675
+ <li class="tsd-parameter">
3676
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;other&quot;</span></h5>
3677
+ <div class="tsd-comment tsd-typography">
3678
+ <div class="lead">
3679
+ <p>The type discriminant.</p>
3680
+ </div>
3681
+ </div>
3682
+ </li>
3683
+ </ul>
3684
+ </div>
3685
+ </section>
3686
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3687
+ <a name="ContentDataQuickReply" class="tsd-anchor"></a>
3688
+ <h3>Content<wbr>Data<wbr>Quick<wbr>Reply</h3>
3689
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Quick<wbr>Reply<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>replies<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataReply" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataReply</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;quickReply&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3690
+ <aside class="tsd-sources">
3691
+ </aside>
3692
+ <div class="tsd-comment tsd-typography">
3693
+ <div class="lead">
3694
+ <p>Let recipients tap, rather than type, to respond to the message. Represents
3695
+ the twilio/quick-reply content type.</p>
3696
+ </div>
3697
+ </div>
3698
+ <div class="tsd-type-declaration">
3699
+ <h4>Type declaration</h4>
3700
+ <ul class="tsd-parameters">
3701
+ <li class="tsd-parameter">
3702
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3703
+ <div class="tsd-comment tsd-typography">
3704
+ <div class="lead">
3705
+ <p>The text of the message you want to send. This is included as a regular
3706
+ text message.</p>
3707
+ </div>
3708
+ </div>
3709
+ </li>
3710
+ <li class="tsd-parameter">
3711
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3712
+ <div class="tsd-comment tsd-typography">
3713
+ <div class="lead">
3714
+ <p>Full data as a stringified JSON. This could be used for future content
3715
+ types and fields which are not yet supported by the newest version of
3716
+ the Conversations SDK, or for using newer types in the older versions of
3717
+ the SDK.</p>
3718
+ </div>
3719
+ </div>
3720
+ </li>
3721
+ <li class="tsd-parameter">
3722
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> replies<span class="tsd-signature-symbol">: </span><a href="modules.html#ContentDataReply" class="tsd-signature-type" data-tsd-kind="Type alias">ContentDataReply</a><span class="tsd-signature-symbol">[]</span></h5>
3723
+ <div class="tsd-comment tsd-typography">
3724
+ <div class="lead">
3725
+ <p>Up to 3 buttons can be created for quick reply. See
3726
+ <a href="modules.html#ContentDataReply">ContentDataReply</a>.</p>
3727
+ </div>
3728
+ </div>
3729
+ </li>
3730
+ <li class="tsd-parameter">
3731
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;quickReply&quot;</span></h5>
3732
+ <div class="tsd-comment tsd-typography">
3733
+ <div class="lead">
3734
+ <p>The type discriminant.</p>
3735
+ </div>
3736
+ </div>
3737
+ </li>
3738
+ </ul>
3739
+ </div>
3740
+ </section>
3741
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3742
+ <a name="ContentDataReply" class="tsd-anchor"></a>
3743
+ <h3>Content<wbr>Data<wbr>Reply</h3>
3744
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Reply<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
3745
+ <aside class="tsd-sources">
3746
+ </aside>
3747
+ <div class="tsd-comment tsd-typography">
3748
+ <div class="lead">
3749
+ <p>Shows a button that sends back a predefined text. Used in
3750
+ <a href="modules.html#ContentDataQuickReply">ContentDataQuickReply</a>.</p>
3751
+ </div>
3752
+ </div>
3753
+ <div class="tsd-type-declaration">
3754
+ <h4>Type declaration</h4>
3755
+ <ul class="tsd-parameters">
3756
+ <li class="tsd-parameter">
3757
+ <h5><span class="tsd-flag ts-flagOptional">Optional</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
3758
+ <div class="tsd-comment tsd-typography">
3759
+ <div class="lead">
3760
+ <p>Postback payload. This field is not visible to the end user.</p>
3761
+ </div>
3762
+ </div>
3763
+ </li>
3764
+ <li class="tsd-parameter">
3765
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> title<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3766
+ <div class="tsd-comment tsd-typography">
3767
+ <div class="lead">
3768
+ <p>Display value of the action. This is the message that will be sent back
3769
+ when the user taps on the button.</p>
3770
+ </div>
3771
+ </div>
3772
+ </li>
3773
+ </ul>
3774
+ </div>
3775
+ </section>
3776
+ <section class="tsd-panel tsd-member tsd-kind-type-alias">
3777
+ <a name="ContentDataText" class="tsd-anchor"></a>
3778
+ <h3>Content<wbr>Data<wbr>Text</h3>
3779
+ <div class="tsd-signature tsd-kind-icon">Content<wbr>Data<wbr>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>rawData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;text&quot;</span><span class="tsd-signature-symbol"> }</span></div>
3780
+ <aside class="tsd-sources">
3781
+ </aside>
3782
+ <div class="tsd-comment tsd-typography">
3783
+ <div class="lead">
3784
+ <p>Contains only the plain text-based content. Represents the twilio/text
3785
+ content type.</p>
3786
+ </div>
3787
+ </div>
3788
+ <div class="tsd-type-declaration">
3789
+ <h4>Type declaration</h4>
3790
+ <ul class="tsd-parameters">
3791
+ <li class="tsd-parameter">
3792
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3793
+ <div class="tsd-comment tsd-typography">
3794
+ <div class="lead">
3795
+ <p>The text of the message you want to send.</p>
3796
+ </div>
3797
+ </div>
3798
+ </li>
3799
+ <li class="tsd-parameter">
3800
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> raw<wbr>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
3801
+ <div class="tsd-comment tsd-typography">
3802
+ <div class="lead">
3803
+ <p>Full data as a stringified JSON. This could be used for future content
3804
+ types and fields which are not yet supported by the newest version of
3805
+ the Conversations SDK, or for using newer types in the older versions of
3806
+ the SDK.</p>
3807
+ </div>
3808
+ </div>
3809
+ </li>
3810
+ <li class="tsd-parameter">
3811
+ <h5><span class="tsd-flag ts-flagReadonly">Readonly</span> type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;text&quot;</span></h5>
3812
+ <div class="tsd-comment tsd-typography">
3813
+ <div class="lead">
3814
+ <p>The type discriminant.</p>
3815
+ </div>
3816
+ </div>
3817
+ </li>
3818
+ </ul>
3819
+ </div>
3820
+ </section>
3008
3821
  <section class="tsd-panel tsd-member tsd-kind-type-alias">
3009
3822
  <a name="ConversationStatus" class="tsd-anchor"></a>
3010
3823
  <h3>Conversation<wbr>Status</h3>