Add Twilio SMS media_url docs (#9792)

* Update twilio SMS docs for media_url setting

This updates the Twilio SMS docs for the `media_url` PR.

* ✏️ Tweak

* ✏️ Tweak
This commit is contained in:
Chris Johnston 2019-07-09 16:15:53 -07:00 committed by Klaas Schoute
parent 81ca54e690
commit c38e5fdd87

View File

@ -45,6 +45,10 @@ name:
Twilio is a notify platform and thus can be controlled by calling the notify service [as described here](/components/notify/). It will send a notification to all E.164 phone numbers in the notification **target**. See the notes above regarding the `from_number` configuration variable for information about formatting phone numbers.
Media can be included with messages by setting the optional `media_url` variable. Only `.gif`, `.png`, or `.jpeg` content are supported, according to the Twilio documentation and this feature is [only supported in the US and Canada.][mms]
[mms]: https://www.twilio.com/docs/sms/send-messages#include-media-in-your-messages
```yaml
# Example automation notification entry
automation:
@ -59,4 +63,6 @@ automation:
target:
- '+14151234567'
- '+15105555555'
data:
- media_url: 'https://www.home-assistant.io/images/supported_brands/home-assistant.png'
```