diff --git a/readmes/Telegram-Bot/Telegram-Bot.md b/readmes/Telegram-Bot/Telegram-Bot.md index 711fa02..8c58d78 100644 --- a/readmes/Telegram-Bot/Telegram-Bot.md +++ b/readmes/Telegram-Bot/Telegram-Bot.md @@ -2,23 +2,21 @@ Based on [Telegram Bot API](https://core.telegram.org/bots) -## How to SetUp this Bot - -### Step 1: Get Your Telegram Bot Token +## Step 1: Get Your Telegram Bot Token [How do I create a bot?](https://core.telegram.org/bots#3-how-do-i-create-a-bot) -### Step 2: Set WebHook for Your bot +## Step 2: Set WebHook for Your bot Run ``` cp Telegram-Bot.php VAR_BOT.php ``` -and the url of Webhook is https://YourHost/D-Bot/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](https://core.telegram.org/bots/api#setwebhook) -### Step 3: Add Your Telegram Bot Token to Config.php +## Step 3: Add Your Telegram Bot Token to Config.php ``` define('TB_TOKEN', 'YOUR_TELEGRAM_BOT_TOKEN_HERE');