Skip to content

OneeePunchMan/deploy-test

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

Run locally

Install Vercel CLI

npm i -g vercel

Install Localtunnel

npm i -g localtunnel

Then run local dev server with Localtunnel

npm run tunnel

And open link from terminal (ends with *.loca.lt) to set WebHook

Now you can make some changes in bot.mjs

Documentation for TeleBot

Template structure:

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