More detailed image_url information (#30009)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
hosebei 2023-11-26 17:35:07 +01:00 committed by GitHub
parent f9c86040f2
commit 5b0829979e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,8 @@ The following attributes can be placed inside `data` for extended functionality.
| ---------------------- | -------- | ----------- | | ---------------------- | -------- | ----------- |
| `image_url` | yes | Attach an image to the message. | `image_url` | yes | Attach an image to the message.
The image must be an HTTPS URL, and as outlined by Microsoft in the [Documentation](https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#common-properties-for-all-cards), the picture must be on a publicly available location.
Example for posting file from URL: Example for posting file from URL:
```yaml ```yaml