Skip to content

Conversation

@turric4n
Copy link

@turric4n turric4n commented Oct 10, 2025

Hi!

It would be nice to load Telegram notification template from file.

So the following PR adds :

Support for loading Telegram notification template from file

This change allows Telegram notification templates to be loaded from a file using the new templateFile configuration option (or the DIUN_NOTIF_TELEGRAM_TEMPLATEFILE environment variable). If templateBody is empty and templateFile is provided, the file content will be used as the message template.

Note : Take a look at commit - refactor: Replace GetSecret with GetValueOrFileContents for improved secret or template retrieval

@turric4n turric4n requested a review from crazy-max as a code owner October 10, 2025 10:02
@turric4n turric4n changed the title [feat] Add template file support for Telegram notifications feat(Notification) Add template file support for Telegram notifications Oct 10, 2025
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