mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add image support for hangouts notification (#6254)
* Add image to hangouts notification Add data attribute with image component. Can be a path or url. * change to image_file / image_url
This commit is contained in:
parent
ff30549d83
commit
2c6f85e618
@ -165,5 +165,5 @@ Sends a message to the given conversations.
|
||||
|------------------------|----------|--------------------------------------------------|
|
||||
| target | List of targets with id or name. [Required] | [{"id": "UgxrXzVrARmjx_C6AZx4AaABAagBo-6UCw"}, {"name": "Test Conversation"}] |
|
||||
| message | List of message segments, only the "text" field is required in every segment. [Required] | [{"text":"test", "is_bold": false, "is_italic": false, "is_strikethrough": false, "is_underline": false, "parse_str": false, "link_target": "http://google.com"}, ...] |
|
||||
|
||||
| data | Extra options | {"image_file": "path"} / {"image_url": "url"} |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user