Bump import versions

This commit is contained in:
Ilja Lapkovskis 2024-01-20 18:46:44 +02:00
parent 19e9a06795
commit 466b3a32a9
No known key found for this signature in database
GPG key ID: 53D2AA4F0D1079C4
6 changed files with 12 additions and 12 deletions

View file

@ -1,9 +1,9 @@
# Golang bindings for the 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)
[![Go Reference](https://pkg.go.dev/badge/github.com/eli-l/telegram-bot-api/v7.svg)](https://pkg.go.dev/github.com/eli-l/telegram-bot-api/v7)
[![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](https://pkg.go.dev/github.com/go-telegram-bot-api/telegram-bot-api/v5) page should
All methods are fairly self-explanatory, and reading the [godoc](https://pkg.go.dev/github.com/eli-l/telegram-bot-api/v7) page should
explain everything. If something isn't clear, open an issue or submit
a pull request.
@ -20,7 +20,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/v5`.
`go get -u github.com/eli-l/telegram-bot-api/v7`.
This is a very simple bot that just displays any gotten updates,
then replies it to that chat.
@ -31,7 +31,7 @@ package main
import (
"log"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
tgbotapi "github.com/eli-l/telegram-bot-api/v7"
)
func main() {
@ -72,7 +72,7 @@ import (
"log"
"net/http"
"github.com/go-telegram-bot-api/telegram-bot-api/v5"
"github.com/eli-l/telegram-bot-api/v7"
)
func main() {

View file

@ -9,7 +9,7 @@ import (
"log"
"os"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
tgbotapi "github.com/eli-l/telegram-bot-api/v7"
)
func main() {

View file

@ -11,7 +11,7 @@ import (
"log"
"os"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
tgbotapi "github.com/eli-l/telegram-bot-api/v7"
)
var numericKeyboard = tgbotapi.NewInlineKeyboardMarkup(

View file

@ -10,7 +10,7 @@ import (
"log"
"os"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
tgbotapi "github.com/eli-l/telegram-bot-api/v7"
)
var numericKeyboard = tgbotapi.NewReplyKeyboard(

View file

@ -10,7 +10,7 @@ approaches to solve common problems.
## Installing
```bash
go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5
go get -u github.com/eli-l/telegram-bot-api/v7
```
## A Simple Bot
@ -22,7 +22,7 @@ messages repeating what you said. Make sure you get an API token from
Let's start by constructing a new [BotAPI][bot-api-docs].
[botfather]: https://t.me/Botfather
[bot-api-docs]: https://pkg.go.dev/github.com/go-telegram-bot-api/telegram-bot-api/v5?tab=doc#BotAPI
[bot-api-docs]: https://pkg.go.dev/github.com/eli-l/telegram-bot-api/v7?tab=doc#BotAPI
```go
package main
@ -30,7 +30,7 @@ package main
import (
"os"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
tgbotapi "github.com/eli-l/telegram-bot-api/v7"
)
func main() {

View file

@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/eli-l/telegram-bot-api/v5"
"github.com/eli-l/telegram-bot-api/v7"
)
var (