diff --git a/README.md b/README.md index 536077f..e6adf18 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Golang bindings for the Telegram Bot API -[![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) -[![Travis](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api.svg)](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api) +[![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) +[![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) All methods are fairly self explanatory, and reading the [godoc](http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api) page should explain everything. If something isn't clear, open an issue or submit @@ -18,7 +18,7 @@ you want to ask questions or discuss development. ## Example First, ensure the library is installed and up to date by running -`go get -u github.com/go-telegram-bot-api/telegram-bot-api`. +`go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5`. This is a very simple bot that just displays any gotten updates, then replies it to that chat. @@ -29,7 +29,7 @@ package main import ( "log" - "github.com/go-telegram-bot-api/telegram-bot-api" + tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" ) func main() { @@ -62,7 +62,7 @@ func main() { } ``` -There are more examples on the [site](https://go-telegram-bot-api.github.io/) +There are more examples on the [site](https://go-telegram-bot-api.dev/) with detailed information on how to do many different kinds of things. It's a great place to get started on using keyboards, commands, or other kinds of reply markup. diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md index 25c0f92..2ca050e 100644 --- a/docs/getting-started/README.md +++ b/docs/getting-started/README.md @@ -10,12 +10,9 @@ approaches to solve common problems. ## Installing ```bash -go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5@develop +go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5 ``` -It's currently suggested to use the develop branch. While there may be breaking -changes, it has a number of features not yet available on master. - ## A Simple Bot To walk through the basics, let's create a simple echo bot that replies to your diff --git a/go.mod b/go.mod index 9e7f65c..167e5e4 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/go-telegram-bot-api/telegram-bot-api/v5 -go 1.13 +go 1.16