Skip to content

Commit 2a2f7c5

Browse files
committed
Update docs.
1 parent 6b71d4d commit 2a2f7c5

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
All methods are fairly self explanatory, and reading the [godoc](http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api) page should
77
explain 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

2020
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`.
2222

2323
This is a very simple bot that just displays any gotten updates,
2424
then replies it to that chat.
@@ -29,7 +29,7 @@ package main
2929
import (
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

3535
func main() {
@@ -62,7 +62,7 @@ func main() {
6262
}
6363
```
6464

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/)
6666
with detailed information on how to do many different kinds of things.
6767
It's a great place to get started on using keyboards, commands, or other
6868
kinds of reply markup.

docs/getting-started/README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ approaches to solve common problems.
1010
## Installing
1111

1212
```bash
13-
go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5@develop
13+
go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5
1414
```
1515

16-
It's currently suggested to use the develop branch. While there may be breaking
17-
changes, it has a number of features not yet available on master.
18-
1916
## A Simple Bot
2017

2118
To walk through the basics, let's create a simple echo bot that replies to your

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/go-telegram-bot-api/telegram-bot-api/v5
22

3-
go 1.13
3+
go 1.16

0 commit comments

Comments
 (0)