Simple telegram bot written in golang. I'll try to implement it from scratch without using any libraries.
-
Basic tutorial (meant to run with webhooks)
https://medium.com/swlh/build-a-telegram-bot-in-go-in-9-minutes-e06ad38acef1
-
Getting updates from telegram (long-polling method)
-
More on long-polling (server-side):
http://www.golangpatterns.info/web/long-poll-server
-
Sqlite3 with golang
https://www.allhandsontech.com/programming/golang/how-to-use-sqlite-with-go/
-
Calling functions dynamically
https://medium.com/@vicky.kurniawan/go-call-a-function-from-string-name-30b41dcb9e12