]> git.basschouten.com Git - openhab-addons.git/commit
[telegram] Add support for sendVideo (MP4) and sendAnimation (GIF) (#8969)
authorMatthew Skinner <matt@pcmus.com>
Wed, 11 Nov 2020 03:50:58 +0000 (14:50 +1100)
committerGitHub <noreply@github.com>
Wed, 11 Nov 2020 03:50:58 +0000 (19:50 -0800)
commit7e5be7ef476ef1024d25e00df7a6543af4b6c888
tree9af8ee1070075109fa43907e183c170cdcc87c83
parent5a1428dddc36c75921d432b65f5f13b00c29f6df
[telegram] Add support for sendVideo (MP4) and sendAnimation (GIF) (#8969)

* Add sendVideo and sendAnimation features.
* Re-order functions to keep inline with other functions.
* Readme change to trigger new build.
* Add ability to use raw file paths to send video and animations.
* Change Paths.get to Path.of as JavaDocs recommend.
* Allow absolute paths in SendPhoto methods and update readme.md
* Support for no caption with photo.
* Add absolute path support for png and webp.
* Add all file types requested.
* Remove multiple OR and only do lowercase once.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
bundles/org.openhab.binding.telegram/README.md
bundles/org.openhab.binding.telegram/pom.xml
bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/TelegramBindingConstants.java
bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/TelegramHandler.java
bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/action/TelegramActions.java