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:
Tommy Jonsson 2018-09-27 14:28:35 +02:00 committed by Alok Saboo
parent ff30549d83
commit 2c6f85e618

View File

@ -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"} |