Is it possible to send to Telegram from the command line?
-
pfSense can send some notifications to a Telegram bot. Is it possible to re-use this functionality from command line?
-
You can trigger a notification using php like:
require_once('notices.inc'); file_notice(1,"Test");
That will use all the configured notification methods including Telegram if it's set.
Steve
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.