1
1
# Golang bindings for the Telegram Bot API
2
2
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 )
5
5
6
6
All methods are fairly self explanatory, and reading the [ godoc] ( http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api ) page should
7
7
explain everything. If something isn't clear, open an issue or submit
@@ -18,7 +18,7 @@ you want to ask questions or discuss development.
18
18
## Example
19
19
20
20
First, 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 ` .
22
22
23
23
This is a very simple bot that just displays any gotten updates,
24
24
then replies it to that chat.
@@ -29,7 +29,7 @@ package main
29
29
import (
30
30
" log"
31
31
32
- " github.com/go-telegram-bot-api/telegram-bot-api"
32
+ tgbotapi " github.com/go-telegram-bot-api/telegram-bot-api/v5 "
33
33
)
34
34
35
35
func main () {
@@ -62,7 +62,7 @@ func main() {
62
62
}
63
63
```
64
64
65
- There are more examples on the [ site] ( https://go-telegram-bot-api.github.io / )
65
+ There are more examples on the [ site] ( https://go-telegram-bot-api.dev / )
66
66
with detailed information on how to do many different kinds of things.
67
67
It's a great place to get started on using keyboards, commands, or other
68
68
kinds of reply markup.
0 commit comments