660 B
660 B
DennyDai/D-Bot/Telegram-Bot
Based on Telegram Bot API
Step 1: Get Your Telegram Bot Token
Step 2: Set WebHook for Your bot
Run
cp VAR_BOT.php Telegram-Bot.php
The url of Webhook is https://YourHost/D-Bot/Telegram-Bot.php
Don't know how to set Webhook for Telegram Bot? See it --> setWebhook
Step 3: Add Your Telegram Bot Token to Config.php
define('TB_TOKEN', 'YOUR_TELEGRAM_BOT_TOKEN_HERE');
And then start your php server and enjoy your bot.
####Have fun :)