Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 398 Bytes

readme.md

File metadata and controls

12 lines (10 loc) · 398 Bytes

Golang Telegram bot carRegionBot

This project is an example of Telegram bot on Golang that provides info about car region by registration region code.

Adding Webhook

curl -F "url=<WEBHOOK_DOMAIN>/webhook" https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/setWebhook

Pass enviroment variable locally

TELEGRAM_BOT_TOKEN=<TELEGRAM_BOT_TOKEN> go run main.go  handler.go