🚀
Ready to Use
Simple installation with go get. Start building your Telegram applications immediately with minimal setup.
Modern Golang MTProto Framework
A powerful, elegant, and concurrent Telegram API framework built for Go developers.

go get -u github.com/amarnathcjd/gogram/telegrampackage main
import "github.com/amarnathcjd/gogram/telegram"
func main() {
    client, err := telegram.NewClient(telegram.ClientConfig{
        AppID: 6, AppHash: "<app-hash>",
    })
    if err != nil {
        log.Fatal(err)
    }
    client.Conn()
    client.LoginBot("<bot-token>")
    client.On(telegram.OnMessage, func(message *telegram.NewMessage) error {
        message.Reply("Hello from Gogram!")
        return nil
    }, telegram.FilterPrivate)
    client.Idle()
}Help make Gogram better: