diff --git a/test/benchmarks/call_bench_test.go b/test/benchmarks/call_bench_test.go index 60889f5..477ebe9 100644 --- a/test/benchmarks/call_bench_test.go +++ b/test/benchmarks/call_bench_test.go @@ -22,7 +22,7 @@ import ( tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" gobot "github.com/go-telegram/bot" telego "github.com/mymmrac/telego" - tele "gopkg.in/telebot.v3" + tele "gopkg.in/telebot.v4" ) // Telegram-format token (digits:[\w-]{35}). telego enforces this format on construction. diff --git a/test/benchmarks/dispatch_bench_test.go b/test/benchmarks/dispatch_bench_test.go index 8a41e36..0500e89 100644 --- a/test/benchmarks/dispatch_bench_test.go +++ b/test/benchmarks/dispatch_bench_test.go @@ -28,7 +28,7 @@ import ( gobot "github.com/go-telegram/bot" gobotmodels "github.com/go-telegram/bot/models" - tele "gopkg.in/telebot.v3" + tele "gopkg.in/telebot.v4" ) const dispatchN = 20 diff --git a/test/benchmarks/go.mod b/test/benchmarks/go.mod index e1e9e6b..4c5aa39 100644 --- a/test/benchmarks/go.mod +++ b/test/benchmarks/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-telegram/bot v1.29.0 github.com/lukaszraczylo/go-telegram v0.0.0-00010101000000-000000000000 github.com/mymmrac/telego v1.13.0 - gopkg.in/telebot.v3 v3.3.8 + gopkg.in/telebot.v4 v4.0.0 ) require ( diff --git a/test/benchmarks/go.sum b/test/benchmarks/go.sum index acd3d0c..1e248a2 100644 --- a/test/benchmarks/go.sum +++ b/test/benchmarks/go.sum @@ -884,8 +884,8 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/telebot.v3 v3.3.8 h1:uVDGjak9l824FN9YARWUHMsiNZnlohAVwUycw21k6t8= -gopkg.in/telebot.v3 v3.3.8/go.mod h1:1mlbqcLTVSfK9dx7fdp+Nb5HZsy4LLPtpZTKmwhwtzM= +gopkg.in/telebot.v4 v4.0.0 h1:6hIwJPrYi7t4lCbWyThSeNfkxgZPR25Z/gxZeFrPO3k= +gopkg.in/telebot.v4 v4.0.0/go.mod h1:jhcQjM/176jZm/s9Up/MzV5VFGPjyI8oiJhWvCMxayI= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/test/benchmarks/unmarshal_bench_test.go b/test/benchmarks/unmarshal_bench_test.go index c9000eb..251fc30 100644 --- a/test/benchmarks/unmarshal_bench_test.go +++ b/test/benchmarks/unmarshal_bench_test.go @@ -14,7 +14,7 @@ import ( tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" gobotmodels "github.com/go-telegram/bot/models" telego "github.com/mymmrac/telego" - tele "gopkg.in/telebot.v3" + tele "gopkg.in/telebot.v4" ) var largeUpdateBytes = []byte(shared.LargeUpdateJSON) diff --git a/test/benchmarks/webhook_bench_test.go b/test/benchmarks/webhook_bench_test.go index 120e4d9..a8a5646 100644 --- a/test/benchmarks/webhook_bench_test.go +++ b/test/benchmarks/webhook_bench_test.go @@ -14,7 +14,7 @@ import ( tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" gobotmodels "github.com/go-telegram/bot/models" telego "github.com/mymmrac/telego" - tele "gopkg.in/telebot.v3" + tele "gopkg.in/telebot.v4" ) var smallUpdateBytes = []byte(shared.SmallUpdateJSON)