Micha
Client lib for Telegram bot api. Supports Bot API v2.3.1 (of 4th Dec 2016).
Simple echo bot example:
package main
import (
"log"
"github.com/onrik/micha"
)
func main() {
bot, err := micha.NewBot("<token>")
if err != nil {
log.Fatal(err)
}
go bot.Start()
for update := range bot.Updates() {
if update.Message != nil {
bot.SendMessage(update.Message.Chat.ID, update.Message.Text, nil)
}
}
}