Sakib1467/TBLWebappBotPublic · Bot Template

AIThis bot demonstrates Telegram WebApp integration by providing both inline and keyboard buttons that open a mini app. The /start command sends two messages with buttons to launch the web app, while the WebApp command renders an HTML page. It also handles inline queries with a test article response and processes web_app_data from the mini app, displaying the received button text and data back to the user. The bot includes two HTML files: one is a Vue.js-based demo mini app with Telegram theme support, and the other is a wallpaper customization tool using the TWallpaper library.

Utilitywebappminiappinline-modeweb-app-datavuewallpaper
ProfileTelegram
6 commands0 envUpdated 8d agoCreated Aug 30, 2026
Back to folder

commands/WebApp.js

javascript · 14 lines

Raw
1/**#command2name: WebApp3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// Command: WebApp13res.render("webapp.html");14// this is the main command that will load our HTML