9 lines
267 B
PHP
Executable File
9 lines
267 B
PHP
Executable File
<?php
|
|
|
|
// Rename me to env.php
|
|
|
|
$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
|