Merge pull request #13 from iamwavecut/patch-1 Instructions on how to use `OvyFlash/telegram-bot-api` by replacing the original dependency
OvyFlash 46941696+OvyFlash@users.noreply.github.com
Sat, 17 Feb 2024 21:21:53 +0200
1 files changed,
8 insertions(+),
1 deletions(-)
jump to
M
README.md
→
README.md
@@ -1,5 +1,12 @@
-# Golang bindings for the Telegram Bot API +> # Usage +> If you want to use this fork in the project that imports the original repo, the easiest way is to: +> - `git submodule add git@github.com:OvyFlash/telegram-bot-api.git telegram-bot-api` +> - `go mod edit --replace github.com/go-telegram-bot-api/telegram-bot-api/v5=./telegram-bot-api/` +> - `go mod tidy` +> And you're ready to go. +> Notice, that there have been several breaking changes since the telegram bot API v5 was released, so you might need to update your application. +# Golang bindings for the Telegram Bot API [](https://pkg.go.dev/github.com/go-telegram-bot-api/telegram-bot-api/v5) [](https://github.com/go-telegram-bot-api/telegram-bot-api/actions/workflows/test.yml)