Skip to content

odysseusmax/calculator-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Bot

Example of Python Serverless Telegram bot to be used with https://vercel.com

Steps

Add env variable to vercel.com

Add your telegram bot token as BOT_TOKEN variable

Register webhook

curl "https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=https://your-project-name.vercel.app/api/webhook/"