11# Golang bindings for the Telegram Bot API
22
3- [ ![ GoDoc ] ( https://godoc.org/ github.com/go-telegram-bot-api/telegram-bot-api?status .svg )] ( http ://godoc.org /github.com/go-telegram-bot-api/telegram-bot-api)
4- [ ![ Travis ] ( https://travis-ci.org /go-telegram-bot-api/telegram-bot-api. svg )] ( https://travis-ci.org /go-telegram-bot-api/telegram-bot-api )
3+ [ ![ Go Reference ] ( https://pkg.go.dev/badge/ github.com/go-telegram-bot-api/telegram-bot-api/v5 .svg )] ( https ://pkg.go.dev /github.com/go-telegram-bot-api/telegram-bot-api/v5 )
4+ [ ![ Test ] ( https://github.com /go-telegram-bot-api/telegram-bot-api/actions/workflows/test.yml/badge. svg )] ( https://github.com /go-telegram-bot-api/telegram-bot-api/actions/workflows/test.yml )
55
66All methods are fairly self explanatory, and reading the [ godoc] ( http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api ) page should
77explain everything. If something isn't clear, open an issue or submit
@@ -18,7 +18,7 @@ you want to ask questions or discuss development.
1818## Example
1919
2020First, ensure the library is installed and up to date by running
21- ` go get -u github.com/go-telegram-bot-api/telegram-bot-api ` .
21+ ` go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5 ` .
2222
2323This is a very simple bot that just displays any gotten updates,
2424then replies it to that chat.
@@ -29,7 +29,7 @@ package main
2929import (
3030 " log"
3131
32- " github.com/go-telegram-bot-api/telegram-bot-api"
32+ tgbotapi " github.com/go-telegram-bot-api/telegram-bot-api/v5 "
3333)
3434
3535func main () {
@@ -62,7 +62,7 @@ func main() {
6262}
6363```
6464
65- There are more examples on the [ wiki ] ( https://github.com/ go-telegram-bot-api/telegram-bot-api/wiki )
65+ There are more examples on the [ site ] ( https://go-telegram-bot-api.dev/ )
6666with detailed information on how to do many different kinds of things.
6767It's a great place to get started on using keyboards, commands, or other
6868kinds of reply markup.
0 commit comments