Skip to content

Commit a678b0b

Browse files
Dave-Baldwinjoni1993
authored andcommitted
Update README.md (openhab#17495)
Add additional guidance around using Image-type item content in an attachment message. Signed-off-by: Dave-Baldwin <[email protected]>
1 parent 53a9727 commit a678b0b

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.openhab.binding.pushover

1 file changed

+1
-1
lines changed

bundles/org.openhab.binding.pushover/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ One has to pass a `null` value if it should be skipped or the default value for
5656

5757
- `sendMonospaceMessage(String message, @Nullable String title, @Nullable Duration ttl)` - This method is used to send a monospace message with TTL.
5858

59-
- `sendAttachmentMessage(String message, @Nullable String title, String attachment, @Nullable String contentType)` - This method is used to send a message with an attachment. It takes a local path or URL to the attachment (parameter `attachment` **mandatory**). Additionally you can pass a data URI scheme to this parameter. Optionally pass a `contentType` to define the content-type of the attachment (default: `image/jpeg` or guessed from image data).
59+
- `sendAttachmentMessage(String message, @Nullable String title, String attachment, @Nullable String contentType)` - This method is used to send a message with an attachment. It takes a local path or URL to the attachment (parameter `attachment` mandatory). Additionally you can pass a data URI scheme to this parameter. The content of an Image-type item is also accepted (see demo.rules example). Optionally pass a `contentType` to define the content-type of the attachment (default: `image/jpeg` or guessed from image data).
6060

6161
- `sendAttachmentMessage(String message, @Nullable String title, String attachment, @Nullable String contentType, @Nullable Duration ttl)` - This method is used to send a message with an attachment and TTL. See previous method for details.
6262

0 commit comments

Comments
 (0)