Context
The bot currently runs in polling mode (good for dev). For production, webhook mode on serverless is more reliable and cost-effective.
Requirements
- Add webhook handler in
src/main.py (AWS Lambda entry point)
- Create
infra/ directory with deployment config (SAM template or Terraform)
- Set up Telegram webhook URL via Bot API
- Add deployment instructions to README
- Environment variables managed via AWS Secrets Manager or Lambda env vars
Acceptance Criteria
Context
The bot currently runs in polling mode (good for dev). For production, webhook mode on serverless is more reliable and cost-effective.
Requirements
src/main.py(AWS Lambda entry point)infra/directory with deployment config (SAM template or Terraform)Acceptance Criteria
sam deployor similar)