Allow filtering chat ids

This commit is contained in:
2022-12-30 00:51:00 +00:00
parent 5d109f8b23
commit f38deaa271
2 changed files with 11 additions and 1 deletions

View File

@@ -5,3 +5,4 @@
$bot_api_key = '1234567890:Telegram_bot_api_key';
$bot_username = 'telegram_bot_username';
$hook_url = 'https://my.server.com/path/to/hook.php';
$allowed_chat_ids = [123, 456]; // Set to empty array to allow message from any chat