Skip to content

dmsemenov/carRegionBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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   

Releases

No releases published

Packages

No packages published