mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 22:36:51 +00:00
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:
parent
81ca54e690
commit
c38e5fdd87
@ -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.
|
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
|
```yaml
|
||||||
# Example automation notification entry
|
# Example automation notification entry
|
||||||
automation:
|
automation:
|
||||||
@ -59,4 +63,6 @@ automation:
|
|||||||
target:
|
target:
|
||||||
- '+14151234567'
|
- '+14151234567'
|
||||||
- '+15105555555'
|
- '+15105555555'
|
||||||
|
data:
|
||||||
|
- media_url: 'https://www.home-assistant.io/images/supported_brands/home-assistant.png'
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user