https://github.com/winglim/vercel-telegram-bot
Build a serverless telegram bot with grammY on Vercel
https://github.com/winglim/vercel-telegram-bot
Last synced: 3 months ago
JSON representation
Build a serverless telegram bot with grammY on Vercel
- Host: GitHub
- URL: https://github.com/winglim/vercel-telegram-bot
- Owner: WingLim
- Created: 2021-10-28T10:41:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-15T12:01:04.000Z (over 3 years ago)
- Last Synced: 2025-01-16T12:52:40.505Z (4 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vercel-telegram-bot
Build a serverless telegram bot with [grammY](https://github.com/grammyjs/grammY) on [Vercel](https://vercel.com/)
## Usage
Install dependencies
```shell
pnpm install
```### Set up webhook
`BOT_TOKEN` and `BOT_URL` can be set up in `.env`, you can take `.example.env` as a example.
```shell
pnpm run webhook
```### Deploy
```shell
vercel
```## Documents
- [Telegram Bot API](https://core.telegram.org/bots/api)
- [grammY Document](https://grammy.dev/)