From 466b3a32a9b6ebb29ed80f800e0f61fac91e039d Mon Sep 17 00:00:00 2001 From: Ilja Lapkovskis Date: Sat, 20 Jan 2024 18:46:44 +0200 Subject: [PATCH] Bump import versions --- README.md | 10 +++++----- docs/examples/command-handling.md | 2 +- docs/examples/inline-keyboard.md | 2 +- docs/examples/keyboard.md | 2 +- docs/getting-started/README.md | 6 +++--- tests/bot_integration_test.go | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b18d15d..d6ede29 100644 --- a/README.md +++ b/README.md @@ -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() { diff --git a/docs/examples/command-handling.md b/docs/examples/command-handling.md index d1d8b29..c5300e0 100644 --- a/docs/examples/command-handling.md +++ b/docs/examples/command-handling.md @@ -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() { diff --git a/docs/examples/inline-keyboard.md b/docs/examples/inline-keyboard.md index e14ee63..14a80b3 100644 --- a/docs/examples/inline-keyboard.md +++ b/docs/examples/inline-keyboard.md @@ -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( diff --git a/docs/examples/keyboard.md b/docs/examples/keyboard.md index d67a915..1088520 100644 --- a/docs/examples/keyboard.md +++ b/docs/examples/keyboard.md @@ -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( diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md index 25b77f7..8a66640 100644 --- a/docs/getting-started/README.md +++ b/docs/getting-started/README.md @@ -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() { diff --git a/tests/bot_integration_test.go b/tests/bot_integration_test.go index 59d26fe..4b711a1 100644 --- a/tests/bot_integration_test.go +++ b/tests/bot_integration_test.go @@ -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 (