Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support ntfy template parameter #453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fmartingr
Copy link

Adds support for ntfy templated messages by using the template param to enable custom formats in the message and title parameters as specified in the ntfy documentation:

https://docs.ntfy.sh/publish/#message-templating

Using this new template parameter requires that at least the title or the message (new parameter) are set. Added some tests to handle possible scenarios.

I'm unsure how to update the docs to reflect this change since it is inherent to the ntfy service.

Adds support for ntfy templated messages by using the template
param to enable custom formats in the message and title parameters
as specified in the ntfy documentation:

https://docs.ntfy.sh/publish/#message-templating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant