Merge pull request #13 from iamwavecut/patch-1

Instructions on how to use `OvyFlash/telegram-bot-api` by replacing the original dependency
pull/16/head
OvyFlash 2024-02-17 21:21:53 +02:00 committed by GitHub
commit 8d23500228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -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
[![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)
[![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)