You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The SID of the associated [TwiML Application](https://www.twilio.com/docs/usage/api/applications). [Message status callback requests](https://www.twilio.com/docs/sms/api/message-resource#twilios-request-to-the-statuscallback-url) are sent to the TwiML App\\\'s `message_status_callback` URL. Note that the `status_callback` parameter of a request takes priority over the `application_sid` parameter; if both are included `application_sid` is ignored. */
75
75
applicationSid?: string;
76
-
/** [DEPRECATED] This parameter will no longer have any effect as of 2024-06-03. */
76
+
/** [OBSOLETE] This parameter will no longer have any effect as of 2024-06-03. */
77
77
maxPrice?: number;
78
78
/** Boolean indicating whether or not you intend to provide delivery confirmation feedback to Twilio (used in conjunction with the [Message Feedback subresource](https://www.twilio.com/docs/sms/api/message-feedback-resource)). Default value is `false`. */
79
79
provideFeedback?: boolean;
80
80
/** Total number of attempts made (including this request) to send the message regardless of the provider used */
81
81
attempt?: number;
82
-
/** The maximum length in seconds that the Message can remain in Twilio\\\'s outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `14400`. Default value is `14400`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html) */
82
+
/** The maximum length in seconds that the Message can remain in Twilio\\\'s outgoing message queue. If a queued Message exceeds the `validity_period`, the Message is not sent. Accepted values are integers from `1` to `36000`. Default value is `36000`. A `validity_period` greater than `5` is recommended. [Learn more about the validity period](https://www.twilio.com/blog/take-more-control-of-outbound-messages-using-validity-period-html) */
* twilio/call-to-action buttons let recipients tap to trigger actions such as launching a website or making a phone call.
96
-
*/
97
-
exportclassTwilioCallToAction{
98
-
"body"?: string;
99
-
"actions"?: Array<CallToActionAction>;
100
-
}
101
-
102
-
/**
103
-
* twilio/card is a structured template which can be used to send a series of related information. It must include a title and at least one additional field.
104
-
*/
105
-
exportclassTwilioCard{
106
-
"title": string;
107
-
"subtitle"?: string;
108
-
"media"?: Array<string>;
109
-
"actions"?: Array<CardAction>;
110
-
}
111
-
112
-
/**
113
-
* twilio/catalog type lets recipients view list of catalog products, ask questions about products, order products.
114
-
*/
115
-
exportclassTwilioCatalog{
116
-
"title"?: string;
117
-
"body": string;
118
-
"subtitle"?: string;
119
-
"id"?: string;
120
-
"items"?: Array<CatalogItem>;
121
-
"dynamicItems"?: string;
122
-
}
123
-
124
-
/**
125
-
* twilio/list-picker includes a menu of up to 10 options, which offers a simple way for users to make a selection.
126
-
*/
127
-
exportclassTwilioListPicker{
128
-
"body": string;
129
-
"button": string;
130
-
"items": Array<ListItem>;
131
-
}
132
-
133
-
/**
134
-
* twilio/location type contains a location pin and an optional label, which can be used to enhance delivery notifications or connect recipients to physical experiences you offer.
135
-
*/
136
-
exportclassTwilioLocation{
137
-
"latitude": number;
138
-
"longitude": number;
139
-
"label"?: string;
140
-
}
141
-
142
-
/**
143
-
* twilio/media is used to send file attachments, or to send long text via MMS in the US and Canada. As such, the twilio/media type must contain at least ONE of text or media content.
144
-
*/
145
-
exportclassTwilioMedia{
146
-
"body"?: string;
147
-
"media": Array<string>;
148
-
}
149
-
150
-
/**
151
-
* twilio/quick-reply templates let recipients tap, rather than type, to respond to the message.
* whatsApp/authentication templates let companies deliver WA approved one-time-password button.
183
-
*/
184
-
exportclassWhatsappAuthentication{
185
-
"addSecurityRecommendation"?: boolean;
186
-
"codeExpirationMinutes"?: number;
187
-
"actions": Array<AuthenticationAction>;
188
-
}
189
-
190
-
/**
191
-
* whatsapp/card is a structured template which can be used to send a series of related information. It must include a body and at least one additional field.
192
-
*/
193
-
exportclassWhatsappCard{
194
-
"body": string;
195
-
"footer"?: string;
196
-
"media"?: Array<string>;
197
-
"headerText"?: string;
198
-
"actions"?: Array<CardAction>;
199
-
}
200
-
201
25
/**
202
26
* Options to pass to create a ContentInstance
203
27
*/
204
28
exportinterfaceContentListInstanceCreateOptions{
205
29
/** */
206
-
contentCreateRequest: ContentCreateRequest;
30
+
body?: object;
207
31
}
208
32
/**
209
33
* Options to pass to each
@@ -426,7 +250,7 @@ export class ContentInstance {
426
250
*/
427
251
variables: any;
428
252
/**
429
-
* The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource.
253
+
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
0 commit comments