@twilio/conversations 1.3.0-rc7 → 2.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/CHANGELOG.md +201 -0
  2. package/README.md +5 -5
  3. package/dist/browser.js +7866 -0
  4. package/dist/browser.js.map +1 -0
  5. package/dist/docs/assets/css/main.css +2660 -0
  6. package/dist/docs/assets/images/icons.png +0 -0
  7. package/dist/docs/assets/images/icons@2x.png +0 -0
  8. package/dist/docs/assets/images/widgets.png +0 -0
  9. package/dist/docs/assets/images/widgets@2x.png +0 -0
  10. package/dist/docs/assets/js/main.js +248 -0
  11. package/dist/docs/assets/js/search.js +1 -0
  12. package/dist/docs/classes/AggregatedDeliveryReceipt.html +3286 -0
  13. package/dist/docs/classes/Client.html +4181 -0
  14. package/dist/docs/classes/Conversation.html +4397 -0
  15. package/dist/docs/classes/DetailedDeliveryReceipt.html +3265 -0
  16. package/dist/docs/classes/Media.html +3295 -0
  17. package/dist/docs/classes/Message.html +3713 -0
  18. package/dist/docs/classes/MessageBuilder.html +3280 -0
  19. package/dist/docs/classes/Participant.html +3517 -0
  20. package/dist/docs/classes/PushNotification.html +3232 -0
  21. package/dist/docs/classes/RestPaginator.html +3262 -0
  22. package/dist/docs/classes/UnsentMessage.html +3144 -0
  23. package/dist/docs/classes/User.html +3451 -0
  24. package/dist/docs/index.html +3387 -212
  25. package/dist/docs/interfaces/ClientOptions.html +3136 -0
  26. package/dist/docs/interfaces/ConversationState.html +3152 -0
  27. package/dist/docs/interfaces/CreateConversationOptions.html +3168 -0
  28. package/dist/docs/interfaces/LastMessage.html +3152 -0
  29. package/dist/docs/interfaces/Paginator.html +3243 -0
  30. package/dist/docs/interfaces/PushNotificationData.html +3168 -0
  31. package/dist/docs/interfaces/SendEmailOptions.html +3136 -0
  32. package/dist/docs/interfaces/SendMediaOptions.html +3169 -0
  33. package/dist/docs/modules.html +3418 -0
  34. package/dist/lib.d.ts +1944 -0
  35. package/dist/lib.js +7866 -0
  36. package/dist/lib.js.map +1 -0
  37. package/dist/post-install.js +29 -0
  38. package/dist/react-native.js +4031 -0
  39. package/dist/react-native.js.map +1 -0
  40. package/dist/twilio-conversations.js +40905 -0
  41. package/dist/twilio-conversations.min.js +156 -0
  42. package/package.json +59 -48
  43. package/.circleci/config.yml +0 -650
  44. package/.deepsource.toml +0 -6
  45. package/.env.example +0 -13
  46. package/browser/aggregateddeliveryreceipt.js +0 -152
  47. package/browser/client.js +0 -991
  48. package/browser/configuration.js +0 -80
  49. package/browser/conversation.js +0 -1826
  50. package/browser/data/conversations.js +0 -665
  51. package/browser/data/messages.js +0 -522
  52. package/browser/data/participants.js +0 -411
  53. package/browser/data/users.js +0 -281
  54. package/browser/detaileddeliveryreceipt.js +0 -44
  55. package/browser/index.js +0 -4
  56. package/browser/interfaces/limits.js +0 -3
  57. package/browser/interfaces/notificationtypes.js +0 -21
  58. package/browser/interfaces/paginator.js +0 -53
  59. package/browser/interfaces/responsecodes.js +0 -20
  60. package/browser/interfaces/transport.js +0 -3
  61. package/browser/logger.js +0 -141
  62. package/browser/media.js +0 -198
  63. package/browser/message.js +0 -685
  64. package/browser/participant.js +0 -415
  65. package/browser/pushnotification.js +0 -49
  66. package/browser/restpaginator.js +0 -74
  67. package/browser/services/network.js +0 -223
  68. package/browser/services/readhorizon.js +0 -181
  69. package/browser/services/typingindicator.js +0 -142
  70. package/browser/session.js +0 -505
  71. package/browser/sessionerror.js +0 -93
  72. package/browser/sri.json +0 -1
  73. package/browser/synclist.js +0 -90
  74. package/browser/synclistdescriptor.js +0 -29
  75. package/browser/syncpaginator.js +0 -63
  76. package/browser/user.js +0 -431
  77. package/browser/util/deferred.js +0 -56
  78. package/browser/util/index.js +0 -108
  79. package/dist/@twilio/conversations.js +0 -35565
  80. package/dist/@twilio/conversations.min.js +0 -204
  81. package/dist/docs/AggregatedDeliveryReceipt.html +0 -948
  82. package/dist/docs/Client.html +0 -5075
  83. package/dist/docs/Conversation.html +0 -6018
  84. package/dist/docs/DetailedDeliveryReceipt.html +0 -641
  85. package/dist/docs/Media.html +0 -694
  86. package/dist/docs/Message.html +0 -1934
  87. package/dist/docs/Paginator.html +0 -605
  88. package/dist/docs/Participant.html +0 -1510
  89. package/dist/docs/PushNotification.html +0 -836
  90. package/dist/docs/SessionError.html +0 -379
  91. package/dist/docs/User.html +0 -1315
  92. package/dist/docs/classes.list.html +0 -4431
  93. package/dist/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  94. package/dist/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  95. package/dist/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  96. package/dist/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  97. package/dist/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  98. package/dist/docs/img/glyphicons-halflings-white.png +0 -0
  99. package/dist/docs/img/glyphicons-halflings.png +0 -0
  100. package/dist/docs/quicksearch.html +0 -31
  101. package/dist/docs/scripts/docstrap.lib.js +0 -11
  102. package/dist/docs/scripts/fulltext-search-ui.js +0 -89
  103. package/dist/docs/scripts/fulltext-search.js +0 -36
  104. package/dist/docs/scripts/lunr.min.js +0 -6
  105. package/dist/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  106. package/dist/docs/scripts/prettify/jquery.min.js +0 -6
  107. package/dist/docs/scripts/prettify/lang-css.js +0 -21
  108. package/dist/docs/scripts/prettify/prettify.js +0 -496
  109. package/dist/docs/scripts/sunlight.js +0 -1157
  110. package/dist/docs/scripts/toc.js +0 -203
  111. package/dist/docs/styles/darkstrap.css +0 -960
  112. package/dist/docs/styles/prettify-tomorrow.css +0 -132
  113. package/dist/docs/styles/site.cerulean.css +0 -7008
  114. package/dist/docs/styles/site.cosmo.css +0 -7061
  115. package/dist/docs/styles/site.cyborg.css +0 -7048
  116. package/dist/docs/styles/site.darkly.css +0 -7171
  117. package/dist/docs/styles/site.darkstrap.css +0 -5638
  118. package/dist/docs/styles/site.dibs-bootstrap.css +0 -5899
  119. package/dist/docs/styles/site.flatly.css +0 -7147
  120. package/dist/docs/styles/site.journal.css +0 -6973
  121. package/dist/docs/styles/site.lumen.css +0 -7298
  122. package/dist/docs/styles/site.paper.css +0 -7623
  123. package/dist/docs/styles/site.readable.css +0 -6997
  124. package/dist/docs/styles/site.sandstone.css +0 -7035
  125. package/dist/docs/styles/site.simplex.css +0 -7023
  126. package/dist/docs/styles/site.slate.css +0 -7343
  127. package/dist/docs/styles/site.spacelab.css +0 -7055
  128. package/dist/docs/styles/site.superhero.css +0 -7131
  129. package/dist/docs/styles/site.united.css +0 -6895
  130. package/dist/docs/styles/site.yeti.css +0 -7195
  131. package/dist/docs/styles/sunlight.dark.css +0 -345
  132. package/dist/docs/styles/sunlight.default.css +0 -344
  133. package/dist/sri.json +0 -1
  134. package/lib/aggregateddeliveryreceipt.d.ts +0 -98
  135. package/lib/aggregateddeliveryreceipt.js +0 -112
  136. package/lib/client.d.ts +0 -317
  137. package/lib/client.js +0 -633
  138. package/lib/configuration.d.ts +0 -21
  139. package/lib/configuration.js +0 -41
  140. package/lib/conversation.d.ts +0 -460
  141. package/lib/conversation.js +0 -940
  142. package/lib/data/conversations.d.ts +0 -57
  143. package/lib/data/conversations.js +0 -318
  144. package/lib/data/messages.d.ts +0 -75
  145. package/lib/data/messages.js +0 -208
  146. package/lib/data/participants.d.ts +0 -94
  147. package/lib/data/participants.js +0 -204
  148. package/lib/data/users.d.ts +0 -42
  149. package/lib/data/users.js +0 -113
  150. package/lib/detaileddeliveryreceipt.d.ts +0 -45
  151. package/lib/detaileddeliveryreceipt.js +0 -34
  152. package/lib/index.d.ts +0 -1
  153. package/lib/index.js +0 -3
  154. package/lib/interfaces/limits.d.ts +0 -8
  155. package/lib/interfaces/limits.js +0 -2
  156. package/lib/interfaces/notificationtypes.d.ts +0 -8
  157. package/lib/interfaces/notificationtypes.js +0 -11
  158. package/lib/interfaces/paginator.d.ts +0 -52
  159. package/lib/interfaces/paginator.js +0 -28
  160. package/lib/interfaces/responsecodes.d.ts +0 -8
  161. package/lib/interfaces/responsecodes.js +0 -10
  162. package/lib/interfaces/transport.d.ts +0 -13
  163. package/lib/interfaces/transport.js +0 -2
  164. package/lib/logger.d.ts +0 -18
  165. package/lib/logger.js +0 -35
  166. package/lib/media.d.ts +0 -52
  167. package/lib/media.js +0 -69
  168. package/lib/message.d.ts +0 -136
  169. package/lib/message.js +0 -305
  170. package/lib/participant.d.ts +0 -142
  171. package/lib/participant.js +0 -219
  172. package/lib/pushnotification.d.ts +0 -48
  173. package/lib/pushnotification.js +0 -39
  174. package/lib/restpaginator.d.ts +0 -19
  175. package/lib/restpaginator.js +0 -36
  176. package/lib/services/network.d.ts +0 -22
  177. package/lib/services/network.js +0 -87
  178. package/lib/services/readhorizon.d.ts +0 -28
  179. package/lib/services/readhorizon.js +0 -112
  180. package/lib/services/typingindicator.d.ts +0 -50
  181. package/lib/services/typingindicator.js +0 -102
  182. package/lib/session.d.ts +0 -63
  183. package/lib/session.js +0 -213
  184. package/lib/sessionerror.d.ts +0 -12
  185. package/lib/sessionerror.js +0 -24
  186. package/lib/sri.json +0 -1
  187. package/lib/synclist.d.ts +0 -24
  188. package/lib/synclist.js +0 -28
  189. package/lib/synclistdescriptor.d.ts +0 -27
  190. package/lib/synclistdescriptor.js +0 -19
  191. package/lib/syncpaginator.d.ts +0 -22
  192. package/lib/syncpaginator.js +0 -37
  193. package/lib/user.d.ts +0 -98
  194. package/lib/user.js +0 -219
  195. package/lib/util/deferred.d.ts +0 -12
  196. package/lib/util/deferred.js +0 -22
  197. package/lib/util/index.d.ts +0 -28
  198. package/lib/util/index.js +0 -82
  199. package/tools/rtd-sdk-cdn-pin/.gitrepo +0 -12
  200. package/tools/rtd-sdk-cdn-pin/README.md +0 -54
  201. package/tools/rtd-sdk-cdn-pin/bintray-settings.xml.template +0 -16
  202. package/tools/rtd-sdk-cdn-pin/cdn-common/cdn-prepare.sh +0 -67
  203. package/tools/rtd-sdk-cdn-pin/cdn-pin-latest.sh +0 -19
  204. package/tools/rtd-sdk-cdn-pin/cdn-pin.sh +0 -19
  205. package/tools/rtd-sdk-cdn-pin/cdn-upload.sh +0 -13
  206. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-bintray-android.sh +0 -34
  207. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-npm.sh +0 -18
  208. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-android.sh +0 -5
  209. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-js.sh +0 -5
  210. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-android.sh +0 -6
  211. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-js.sh +0 -5
  212. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-android.sh +0 -5
  213. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-js.sh +0 -5
  214. package/tools/rtd-sdk-cdn-pin/fetch-artifact.sh +0 -26
  215. package/tools/sdk-release-tool/.gitrepo +0 -12
  216. package/tools/sdk-release-tool/Makefile +0 -49
  217. package/tools/sdk-release-tool/README.md +0 -275
  218. package/tools/sdk-release-tool/delete +0 -3
  219. package/tools/sdk-release-tool/download +0 -3
  220. package/tools/sdk-release-tool/get-cors +0 -3
  221. package/tools/sdk-release-tool/list +0 -3
  222. package/tools/sdk-release-tool/pin +0 -3
  223. package/tools/sdk-release-tool/pin-latest +0 -3
  224. package/tools/sdk-release-tool/requirements.txt +0 -4
  225. package/tools/sdk-release-tool/sdk-release-tool +0 -3
  226. package/tools/sdk-release-tool/sdk_release_tools/__init__.py +0 -0
  227. package/tools/sdk-release-tool/sdk_release_tools/__main__.py +0 -110
  228. package/tools/sdk-release-tool/sdk_release_tools/aws.py +0 -70
  229. package/tools/sdk-release-tool/sdk_release_tools/cli.py +0 -181
  230. package/tools/sdk-release-tool/sdk_release_tools/log.py +0 -24
  231. package/tools/sdk-release-tool/sdk_release_tools/ops.py +0 -295
  232. package/tools/sdk-release-tool/sdk_release_tools/rpm.py +0 -28
  233. package/tools/sdk-release-tool/sdk_release_tools/util.py +0 -186
  234. package/tools/sdk-release-tool/sdk_release_tools/versions.py +0 -362
  235. package/tools/sdk-release-tool/signal-sdk-js.json +0 -28
  236. package/tools/sdk-release-tool/tests/test_versions.py +0 -94
  237. package/tools/sdk-release-tool/twilio-accessmanager-android.json +0 -19
  238. package/tools/sdk-release-tool/twilio-accessmanager-ios.json +0 -26
  239. package/tools/sdk-release-tool/twilio-auth-ios.json +0 -29
  240. package/tools/sdk-release-tool/twilio-authenticator-ios.json +0 -29
  241. package/tools/sdk-release-tool/twilio-chat-android-2.json +0 -19
  242. package/tools/sdk-release-tool/twilio-chat-android.json +0 -22
  243. package/tools/sdk-release-tool/twilio-chat-ios.json +0 -26
  244. package/tools/sdk-release-tool/twilio-chat-js.json +0 -27
  245. package/tools/sdk-release-tool/twilio-client-android-aar.json +0 -22
  246. package/tools/sdk-release-tool/twilio-client-android.json +0 -22
  247. package/tools/sdk-release-tool/twilio-client-ios.json +0 -20
  248. package/tools/sdk-release-tool/twilio-client-js.json +0 -17
  249. package/tools/sdk-release-tool/twilio-client-sounds-js.json +0 -14
  250. package/tools/sdk-release-tool/twilio-common-android-maven.json +0 -16
  251. package/tools/sdk-release-tool/twilio-common-android.json +0 -22
  252. package/tools/sdk-release-tool/twilio-common-ios-rtc.json +0 -25
  253. package/tools/sdk-release-tool/twilio-common-ios.json +0 -25
  254. package/tools/sdk-release-tool/twilio-common-js.json +0 -19
  255. package/tools/sdk-release-tool/twilio-conversations-android.json +0 -22
  256. package/tools/sdk-release-tool/twilio-conversations-ios.json +0 -26
  257. package/tools/sdk-release-tool/twilio-conversations-js.json +0 -27
  258. package/tools/sdk-release-tool/twilio-flex-js.json +0 -20
  259. package/tools/sdk-release-tool/twilio-flex-webchat-js.json +0 -16
  260. package/tools/sdk-release-tool/twilio-frame-chat-android.json +0 -22
  261. package/tools/sdk-release-tool/twilio-frame-chat-ios.json +0 -23
  262. package/tools/sdk-release-tool/twilio-frame-chat-js.json +0 -23
  263. package/tools/sdk-release-tool/twilio-ip-messaging-android-maven.json +0 -16
  264. package/tools/sdk-release-tool/twilio-ip-messaging-android.json +0 -22
  265. package/tools/sdk-release-tool/twilio-ip-messaging-ios.json +0 -25
  266. package/tools/sdk-release-tool/twilio-ip-messaging-js.json +0 -21
  267. package/tools/sdk-release-tool/twilio-sync-android.json +0 -22
  268. package/tools/sdk-release-tool/twilio-sync-ios.json +0 -26
  269. package/tools/sdk-release-tool/twilio-sync-js.json +0 -39
  270. package/tools/sdk-release-tool/twilio-taskrouter-js.json +0 -17
  271. package/tools/sdk-release-tool/twilio-video-android.json +0 -22
  272. package/tools/sdk-release-tool/twilio-video-cpp-linux-cross-rootfs.json +0 -13
  273. package/tools/sdk-release-tool/twilio-video-cpp.json +0 -33
  274. package/tools/sdk-release-tool/twilio-video-ios.json +0 -25
  275. package/tools/sdk-release-tool/twilio-video-js.json +0 -19
  276. package/tools/sdk-release-tool/twilio-video-jsdocs.json +0 -14
  277. package/tools/sdk-release-tool/twilio-voice-android.json +0 -22
  278. package/tools/sdk-release-tool/twilio-voice-ios.json +0 -29
  279. package/tools/sdk-release-tool/unpin +0 -3
  280. package/tools/sdk-release-tool/unpin-latest +0 -3
  281. package/tools/sdk-release-tool/upload +0 -3
  282. package/twilio-chat.js.iml +0 -9
@@ -1,836 +0,0 @@
1
- <!DOCTYPE html><html lang="en"><head>
2
- <meta charset="utf-8">
3
- <meta name="viewport" content="width=device-width">
4
- <title>Documentation Class: PushNotification</title>
5
-
6
- <!--[if lt IE 9]>
7
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
8
- <![endif]-->
9
- <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
10
-
11
- <link type="text/css" rel="stylesheet" href="styles/site.simplex.css">
12
-
13
- </head>
14
-
15
- <body>
16
-
17
- <div class="navbar navbar-default navbar-fixed-top ">
18
- <div class="container">
19
- <div class="navbar-header">
20
- <a class="navbar-brand" href="index.html">Documentation</a>
21
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
22
- <span class="icon-bar"></span>
23
- <span class="icon-bar"></span>
24
- <span class="icon-bar"></span>
25
- </button>
26
- </div>
27
- <div class="navbar-collapse collapse" id="topNavigation">
28
- <ul class="nav navbar-nav"><li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Classes<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="Client.html"><span style="color: #999">Twilio.Conversations.</span>Client</a></li><li><a href="Conversation.html">Conversation</a></li><li><a href="Participant.html">Participant</a></li><li><a href="Message.html">Message</a></li><li><a href="Media.html">Media</a></li><li><a href="AggregatedDeliveryReceipt.html">AggregatedDeliveryReceipt</a></li><li><a href="DetailedDeliveryReceipt.html">DetailedDeliveryReceipt</a></li><li><a href="User.html">User</a></li><li><a href="Paginator.html">Paginator</a></li><li><a href="PushNotification.html">PushNotification</a></li></ul></li><li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Exceptions<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="SessionError.html">SessionError</a></li></ul></li></ul>
29
-
30
- <div class="col-sm-3 col-md-3">
31
- <form class="navbar-form" role="search">
32
- <div class="input-group">
33
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
34
- <div class="input-group-btn">
35
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
36
- </div>
37
- </div>
38
- </form>
39
- </div>
40
-
41
- </div>
42
-
43
- </div>
44
- </div>
45
-
46
-
47
- <div class="container" id="toc-content">
48
- <div class="row">
49
-
50
-
51
- <div class="col-md-8">
52
-
53
- <div id="main">
54
-
55
-
56
- <h1 class="page-title">Class: PushNotification</h1>
57
- <section>
58
-
59
- <header>
60
-
61
- <h2>
62
- PushNotification
63
- </h2>
64
-
65
- <div class="class-description">Push notification representation within Conversations Client</div>
66
-
67
-
68
- </header>
69
-
70
-
71
- <article>
72
- <div class="container-overview">
73
-
74
-
75
- <hr>
76
- <dt>
77
-
78
-
79
-
80
- </dt>
81
- <dd>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <dl class="details">
100
-
101
-
102
- <h5 class="subsection-title">Properties:</h5>
103
-
104
- <dl>
105
-
106
- <table class="props table table-striped">
107
- <thead>
108
- <tr>
109
-
110
- <th>Name</th>
111
-
112
-
113
- <th>Type</th>
114
-
115
-
116
- <th>Argument</th>
117
-
118
-
119
-
120
-
121
- <th class="last">Description</th>
122
- </tr>
123
- </thead>
124
-
125
- <tbody>
126
-
127
-
128
- <tr>
129
-
130
- <td class="name"><code>action</code></td>
131
-
132
-
133
- <td class="type">
134
-
135
-
136
- <span class="param-type">String</span>
137
-
138
-
139
-
140
-
141
- </td>
142
-
143
-
144
- <td class="attributes">
145
-
146
- &lt;optional&gt;<br>
147
-
148
-
149
-
150
- </td>
151
-
152
-
153
-
154
-
155
- <td class="description last">Notification action (`click_action` in FCM/GCM terms and `category` in APN terms)</td>
156
- </tr>
157
-
158
-
159
-
160
- <tr>
161
-
162
- <td class="name"><code>badge</code></td>
163
-
164
-
165
- <td class="type">
166
-
167
-
168
- <span class="param-type">Number</span>
169
-
170
-
171
-
172
-
173
- </td>
174
-
175
-
176
- <td class="attributes">
177
-
178
- &lt;optional&gt;<br>
179
-
180
-
181
-
182
- </td>
183
-
184
-
185
-
186
-
187
- <td class="description last">Number for the badge</td>
188
- </tr>
189
-
190
-
191
-
192
- <tr>
193
-
194
- <td class="name"><code>body</code></td>
195
-
196
-
197
- <td class="type">
198
-
199
-
200
- <span class="param-type">String</span>
201
-
202
-
203
-
204
-
205
- </td>
206
-
207
-
208
- <td class="attributes">
209
-
210
-
211
-
212
- </td>
213
-
214
-
215
-
216
-
217
- <td class="description last">Notification text</td>
218
- </tr>
219
-
220
-
221
-
222
- <tr>
223
-
224
- <td class="name"><code>data</code></td>
225
-
226
-
227
- <td class="type">
228
-
229
-
230
- <span class="param-type"><a href="PushNotification.html#ConversationData">PushNotification#ConversationData</a></span>
231
-
232
-
233
-
234
-
235
- </td>
236
-
237
-
238
- <td class="attributes">
239
-
240
-
241
-
242
- </td>
243
-
244
-
245
-
246
-
247
- <td class="description last">Additional Conversation data</td>
248
- </tr>
249
-
250
-
251
-
252
- <tr>
253
-
254
- <td class="name"><code>sound</code></td>
255
-
256
-
257
- <td class="type">
258
-
259
-
260
- <span class="param-type">String</span>
261
-
262
-
263
-
264
-
265
- </td>
266
-
267
-
268
- <td class="attributes">
269
-
270
- &lt;optional&gt;<br>
271
-
272
-
273
-
274
- </td>
275
-
276
-
277
-
278
-
279
- <td class="description last">Notification sound</td>
280
- </tr>
281
-
282
-
283
-
284
- <tr>
285
-
286
- <td class="name"><code>title</code></td>
287
-
288
-
289
- <td class="type">
290
-
291
-
292
- <span class="param-type">String</span>
293
-
294
-
295
-
296
-
297
- </td>
298
-
299
-
300
- <td class="attributes">
301
-
302
- &lt;optional&gt;<br>
303
-
304
-
305
-
306
- </td>
307
-
308
-
309
-
310
-
311
- <td class="description last">Notification title</td>
312
- </tr>
313
-
314
-
315
-
316
- <tr>
317
-
318
- <td class="name"><code>type</code></td>
319
-
320
-
321
- <td class="type">
322
-
323
-
324
- <span class="param-type"><a href="PushNotification.html#NotificationType">PushNotification#NotificationType</a></span>
325
-
326
-
327
-
328
-
329
- </td>
330
-
331
-
332
- <td class="attributes">
333
-
334
-
335
-
336
- </td>
337
-
338
-
339
-
340
-
341
- <td class="description last">Notification type</td>
342
- </tr>
343
-
344
-
345
- </tbody>
346
- </table>
347
- </dl>
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
- </dl>
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
- </dd>
401
-
402
-
403
- </div>
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
- <h3 class="subsection-title">Type Definitions</h3>
421
-
422
- <dl>
423
-
424
- <hr>
425
- <dt class="name" id="ConversationData">
426
- <h4 id="ConversationData">ConversationData</h4>
427
-
428
-
429
- </dt>
430
- <dd>
431
-
432
- <div class="description">
433
- Additional Conversations data for given Push Notification
434
- </div>
435
-
436
-
437
-
438
- <h5>Type:</h5>
439
- <ul>
440
- <li>
441
-
442
- <span class="param-type">Object</span>
443
-
444
-
445
-
446
- </li>
447
- </ul>
448
-
449
-
450
-
451
- <dl class="details">
452
-
453
-
454
- <h5 class="subsection-title">Properties:</h5>
455
-
456
- <dl>
457
-
458
- <table class="props table table-striped">
459
- <thead>
460
- <tr>
461
-
462
- <th>Name</th>
463
-
464
-
465
- <th>Type</th>
466
-
467
-
468
- <th>Argument</th>
469
-
470
-
471
-
472
-
473
- <th class="last">Description</th>
474
- </tr>
475
- </thead>
476
-
477
- <tbody>
478
-
479
-
480
- <tr>
481
-
482
- <td class="name"><code>conversationSid</code></td>
483
-
484
-
485
- <td class="type">
486
-
487
-
488
- <span class="param-type">String</span>
489
-
490
-
491
-
492
-
493
- </td>
494
-
495
-
496
- <td class="attributes">
497
-
498
- &lt;optional&gt;<br>
499
-
500
-
501
-
502
- </td>
503
-
504
-
505
-
506
-
507
- <td class="description last">SID of Conversation</td>
508
- </tr>
509
-
510
-
511
-
512
- <tr>
513
-
514
- <td class="name"><code>messageIndex</code></td>
515
-
516
-
517
- <td class="type">
518
-
519
-
520
- <span class="param-type">Number</span>
521
-
522
-
523
-
524
-
525
- </td>
526
-
527
-
528
- <td class="attributes">
529
-
530
- &lt;optional&gt;<br>
531
-
532
-
533
-
534
- </td>
535
-
536
-
537
-
538
-
539
- <td class="description last">Index of Message in Conversation</td>
540
- </tr>
541
-
542
-
543
-
544
- <tr>
545
-
546
- <td class="name"><code>messageSid</code></td>
547
-
548
-
549
- <td class="type">
550
-
551
-
552
- <span class="param-type">String</span>
553
-
554
-
555
-
556
-
557
- </td>
558
-
559
-
560
- <td class="attributes">
561
-
562
- &lt;optional&gt;<br>
563
-
564
-
565
-
566
- </td>
567
-
568
-
569
-
570
-
571
- <td class="description last">SID of Message</td>
572
- </tr>
573
-
574
-
575
- </tbody>
576
- </table>
577
- </dl>
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
- </dl>
615
-
616
-
617
-
618
- </dd>
619
-
620
-
621
-
622
- <hr>
623
- <dt class="name" id="NotificationType">
624
- <h4 id="NotificationType">NotificationType</h4>
625
-
626
-
627
- </dt>
628
- <dd>
629
-
630
- <div class="description">
631
- Conversation push notification type
632
- </div>
633
-
634
-
635
-
636
- <h5>Type:</h5>
637
- <ul>
638
- <li>
639
-
640
- <span class="param-type">&apos;twilio.conversations.new_message&apos;</span>
641
- |
642
-
643
- <span class="param-type">&apos;twilio.conversations.added_to_conversation&apos;</span>
644
- |
645
-
646
- <span class="param-type">&apos;twilio.conversations.removed_from_conversation&apos;</span>
647
-
648
-
649
-
650
- </li>
651
- </ul>
652
-
653
-
654
-
655
- <dl class="details">
656
-
657
-
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
- </dl>
692
-
693
-
694
-
695
- </dd>
696
-
697
- </dl>
698
-
699
-
700
-
701
- </article>
702
-
703
- </section>
704
-
705
-
706
-
707
-
708
- </div>
709
- </div>
710
-
711
- <div class="clearfix"></div>
712
-
713
-
714
- <div class="col-md-3">
715
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
716
- </div>
717
-
718
-
719
- </div>
720
- </div>
721
-
722
-
723
- <div class="modal fade" id="searchResults">
724
- <div class="modal-dialog">
725
- <div class="modal-content">
726
- <div class="modal-header">
727
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&#xD7;</span></button>
728
- <h4 class="modal-title">Search results</h4>
729
- </div>
730
- <div class="modal-body"></div>
731
- <div class="modal-footer">
732
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
733
- </div>
734
- </div><!-- /.modal-content -->
735
- </div><!-- /.modal-dialog -->
736
- </div>
737
-
738
-
739
- <footer>
740
-
741
-
742
- <span class="jsdoc-message">
743
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
744
-
745
- on 2021-06-28T16:25:18+00:00
746
-
747
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
748
- </span>
749
- </footer>
750
-
751
- <script src="scripts/docstrap.lib.js"></script>
752
- <script src="scripts/toc.js"></script>
753
-
754
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
755
-
756
-
757
- <script>
758
- $( function () {
759
- $( "[id*='$']" ).each( function () {
760
- var $this = $( this );
761
-
762
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
763
- } );
764
-
765
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
766
- var $this = $( this );
767
-
768
- var example = $this.find( "code" );
769
- exampleText = example.html();
770
- var lang = /{@lang (.*?)}/.exec( exampleText );
771
- if ( lang && lang[1] ) {
772
- exampleText = exampleText.replace( lang[0], "" );
773
- example.html( exampleText );
774
- lang = lang[1];
775
- } else {
776
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
777
- lang = langClassMatch ? langClassMatch[1] : "javascript";
778
- }
779
-
780
- if ( lang ) {
781
-
782
- $this
783
- .addClass( "sunlight-highlight-" + lang )
784
- .addClass( "linenums" )
785
- .html( example.html() );
786
-
787
- }
788
- } );
789
-
790
- Sunlight.highlightAll( {
791
- lineNumbers : false,
792
- showMenu : true,
793
- enableDoclinks : true
794
- } );
795
-
796
- $.catchAnchorLinks( {
797
- navbarOffset: 10
798
- } );
799
- $( "#toc" ).toc( {
800
- anchorName : function ( i, heading, prefix ) {
801
- return $( heading ).attr( "id" ) || ( prefix + i );
802
- },
803
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
804
- showAndHide : false,
805
- smoothScrolling: true
806
- } );
807
-
808
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
809
- $( '.dropdown-toggle' ).dropdown();
810
-
811
- $( "table" ).each( function () {
812
- var $this = $( this );
813
- $this.addClass('table');
814
- } );
815
-
816
- } );
817
- </script>
818
-
819
-
820
-
821
- <!--Navigation and Symbol Display-->
822
-
823
-
824
- <!--Google Analytics-->
825
-
826
-
827
-
828
- <script type="text/javascript">
829
- $(document).ready(function() {
830
- SearcherDisplay.init();
831
- });
832
- </script>
833
-
834
-
835
-
836
- </body></html>