AddTextMedia method: PTNotification class
Syntax
AddTextMedia(FilePath)
Description
Twilio supports adding media to text message through it's media URL. Use this method to specify the path of the file and add it to the Twilio media URL. You should ensure that the URL is a direct link to the file. Ensure that the file or media is supported by the Twilio MIME types and that you provide valid HTTP or HTTPS URLs conforming to Twilio standards. For information on supported MIME types and valid URLs, refer to the Twilio documentation (www.twilio.com).
Parameters
| Parameter | Description |
|---|---|
|
FilePath |
Specify the path to the file. |
Returns
None.
Example
&objBroadcast.AddTextMedia("https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf");
Related Topics