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