mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add embed image parameter for Discord notify (#23191)
This commit is contained in:
parent
0f0118a220
commit
aef6ebe9dd
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user