/playground

Bot API Playground for Telegram in JavaScript

Primary LanguageHTMLApache License 2.0Apache-2.0

Bot API Playground

This code lets you run a Telegram bot locally in your own browser using JavaScript and update the behavior on-the-fly from within the browser. I mainly use this to experiment with the Bot API.

The example includes receiving messages, sending messages, keyboards and using the bot inline. You can easily use other parts of the Bot API using similar code.

You can try it out at anyro.se/playground/ or download the index.html file and open it locally.

Creating your own bot

If you are new to bots or bot development for Telegram check out the following links:

License

Apache License 2.0