- Create a bot with BotFather in Telegram
/newbot
- Go to URL:
`https://api.telegram.org/bot${TOKEN}/getUpdates`
- use https to set webhook, or NGROK (https://ngrok.com/)
- Ngrok terminal:
ngrok http 4000 # (app PORT=4000)
- Windows terminal
taskkill /f /im ngrok.exe
NTBA_FIX_319=1
TELEGRAM_BOT_TOKEN="00000:xxxxx"
CHAT_ID="xxxxx"
CHAT_ID_GROUP=-xxxxx
MONGODB_URI="mongodb://localhost:27017/arbitrage-bot-cli"
SETTINGS_ID="xxxxx"
Update SETTINGS_ID with the generated Settings MongoDB Document id