Add embed image parameter for Discord notify (#23191)

This commit is contained in:
tbertonatti 2022-06-23 16:03:00 -03:00 committed by GitHub
parent 0f0118a220
commit aef6ebe9dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ To include messages with embedding, use these attributes underneath the `embed`
| `author` | yes | Sets the footer for the embed content.
| `footer` | yes | Sets the footer for the embed content.
| `thumbnail` | yes | Sets the thumbnail for the embed content.
| `image` | yes | Sets the image for the embed content.
| `fields` | yes | Adds a field to the embed object. `name` and `value` are *required*, `inline` is *true* by default.
### Example service call
@ -115,6 +116,8 @@ To include messages with embedding, use these attributes underneath the `embed`
icon_url: 'https://www.home-assistant.io'
thumbnail:
url: 'https://www.home-assistant.io/images/favicon-192x192-full.png'
image:
url: 'https://www.home-assistant.io/images/favicon-192x192-full.png'
fields:
- name: 'fieldname1'
value: 'valuename1'