Skip to content

zakariazix/telegram-bottt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot Template for Vercel

Deploy with Vercel

Try new experimental version for Edge Functions

Run locally

1. Install Vercel CLI

npm i -g vercel

2. Install CloudFlare tunnel (cloudflared)

Download link

3. Then run local dev server with tunnel

npm run dev-with-tunnel

And open link from terminal (ends with *.trycloudflare.com) to set WebHook

Now you can make some changes in src/bot.mjs

Documentation for TeleBot

Template structure:

P.S. Don't forget to remove or restrict api/setWebhook.mjs function before going to production

Made with 💜 by Vladislav Ponomarev

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published