Telegram bot that can be used as image storage
- Create storage directory
- storage:
- dir1:
- img1.jpg
- img2.png
- dir2:
- img1.jpg
- dir1:
- Create telegram bot
- Add
.env
file in root
BOT_TOKEN=[YOUR TELEGRAM BOT TOKEN]
STORAGE_PATH=[ABSOLUTE PATH TO STORAGE DIR]
go run cmd/tgbotimgstor/main.go