From 78afaa212463f586c55f001afb1268499b77e1ca Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 8 Nov 2024 09:01:22 +0100 Subject: [PATCH] Fix arm64 panic (#130) --- bot.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.go b/bot.go index be4533f..f68f537 100644 --- a/bot.go +++ b/bot.go @@ -31,6 +31,8 @@ type MatchFunc func(update *models.Update) bool // Bot represents Telegram Bot main object type Bot struct { + lastUpdateID int64 + url string token string pollTimeout time.Duration @@ -51,7 +53,6 @@ type Bot struct { handlers []handler client HttpClient - lastUpdateID int64 isDebug bool checkInitTimeout time.Duration