Bump import versions
This commit is contained in:
parent
19e9a06795
commit
466b3a32a9
6 changed files with 12 additions and 12 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue