* add image to services.yaml * add image support Add image support to hangouts notification. * fix indents * fix line length * Add data schema forgot schema * fix linelength * use is_allowed_path and better file error handling * elif not else if * fix logger error * fixes * fix travis errors/warnings * remove trailing whitespace * fix travis pylint naming * new async style * removed unused async_timeout * change to image_file/url (#3) * change to image_file/url * removed whitespace * forgot to remove unused urlparse import * image_file/url in service help
16 lines
774 B
YAML
16 lines
774 B
YAML
update:
|
|
description: Updates the list of users and conversations.
|
|
|
|
send_message:
|
|
description: Send a notification to a specific target.
|
|
fields:
|
|
target:
|
|
description: List of targets with id or name. [Required]
|
|
example: '[{"id": "UgxrXzVrARmjx_C6AZx4AaABAagBo-6UCw"}, {"name": "Test Conversation"}]'
|
|
message:
|
|
description: List of message segments, only the "text" field is required in every segment. [Required]
|
|
example: '[{"text":"test", "is_bold": false, "is_italic": false, "is_strikethrough": false, "is_underline": false, "parse_str": false, "link_target": "http://google.com"}, ...]'
|
|
data:
|
|
description: Other options ['image_file' / 'image_url']
|
|
example: '{ "image_file": "file" }' or '{ "image_url": "url" }'
|
|
|