Example of Python Serverless Telegram bot to be used with https://vercel.com
Add your telegram bot token as BOT_TOKEN
variable
curl "https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=https://your-project-name.vercel.app/api/webhook/"
Example of Python Serverless Telegram bot to be used with https://vercel.com
Add your telegram bot token as BOT_TOKEN
variable
curl "https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=https://your-project-name.vercel.app/api/webhook/"