This is a demo. Weβve modified some features for our purposes.
- π€ Upload any video, photo, audio, or document (up to 4GB)
- π¬ Get a Telegram shareable link
Follow these steps to deploy the bot using Cloudflare Workers:
git clone https://github.com/your-username/KupppiHub Telegram Bot-link-bot.git
const BOT_TOKEN = ""; // π Your Telegram Bot Token
const BOT_SECRET = "secret"; // π A secure random string
const BOT_CHANNEL = ; // π Your Telegram Channel ID (as an integer)
const SIA_NUMBER = 1234; // π A random secret integer (same across bot & backend)
const BOT_OWNER = "YourUserName"; // π Your Telegram username (for /start button)
π Make sure your bot is added as an admin in your channel.
- Copy-paste the
workers.js
file into the Cloudflare Workers editor - Save and deploy the worker.
Go to:
https://your-domain.com/registerWebhook
β If everything is okay, it will return:
{"ok":true,"result":true,"description":"Webhook was set"}
Your bot is now live and ready to use!