Update README.md

pull/13/head
Valeriy Selitskiy 2024-01-15 11:29:03 +01:00 committed by GitHub
parent 63e5c59035
commit 5198d8b69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) [![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) [![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)