improvement: add send-message script

This commit is contained in:
Frederico 2025-08-30 15:35:32 +02:00
parent 5c6601d7ec
commit bbc32c3e53

5
send-message.php Normal file
View File

@ -0,0 +1,5 @@
<?php
require __DIR__."/lib/main.php";
$c = getenv()["TELEGRAM_CHAT_ID"];
array_shift($argv);
telegram_send_text($c, implode(" ",$argv));