13 lines
434 B
PHP
13 lines
434 B
PHP
<?php
|
|
/**
|
|
* Copy this file to config.php and fill in real values.
|
|
* config.php is gitignored — never commit bot credentials.
|
|
*
|
|
* Bot: create via @BotFather, add to the target chat, chat_id for groups:
|
|
* send any message to the group, then GET https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
* and read message.chat.id (starts with '-' for groups).
|
|
*/
|
|
|
|
const BOT_TOKEN = '123456789:AA...';
|
|
const TG_CHAT_ID = '-1000000000000';
|