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 # 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) [![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 explain everything. If something isn't clear, open an issue or submit
a pull request. a pull request.
@ -20,7 +20,7 @@ you want to ask questions or discuss development.
## Example ## Example
First, ensure the library is installed and up to date by running 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, This is a very simple bot that just displays any gotten updates,
then replies it to that chat. then replies it to that chat.
@ -31,7 +31,7 @@ package main
import ( import (
"log" "log"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" tgbotapi "github.com/eli-l/telegram-bot-api/v7"
) )
func main() { func main() {
@ -72,7 +72,7 @@ import (
"log" "log"
"net/http" "net/http"
"github.com/go-telegram-bot-api/telegram-bot-api/v5" "github.com/eli-l/telegram-bot-api/v7"
) )
func main() { func main() {

View file

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

View file

@ -11,7 +11,7 @@ import (
"log" "log"
"os" "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( var numericKeyboard = tgbotapi.NewInlineKeyboardMarkup(

View file

@ -10,7 +10,7 @@ import (
"log" "log"
"os" "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( var numericKeyboard = tgbotapi.NewReplyKeyboard(

View file

@ -10,7 +10,7 @@ approaches to solve common problems.
## Installing ## Installing
```bash ```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 ## 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]. Let's start by constructing a new [BotAPI][bot-api-docs].
[botfather]: https://t.me/Botfather [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 ```go
package main package main
@ -30,7 +30,7 @@ package main
import ( import (
"os" "os"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" tgbotapi "github.com/eli-l/telegram-bot-api/v7"
) )
func main() { func main() {

View file

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