Initial commit
This commit is contained in:
commit
18ebcef492
956 files changed
+22301
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?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';
|
||||
Reference in new issue
Block a user