Skip to content

colgatto/TeBot

Repository files navigation

TeBot

Testing Enviroment for Telegram Bot

you can send custom update packages to your bot(remote or local) and see response on the same page, this tool is made up for simplify bots bugfixing even offline

Installation

Simply change your telegram api link.

//$telegramApi = "https://api.telegram.org/bot<token>/";
$telegramApi = "http://127.0.0.1/TeBot/telegram/";

Using

go to

http://127.0.0.1/TeBot/

Set the webhook of your bot on the first line. compile by hand or randomize your packages and send it