From b45226f52c3894d3a7a6d99e623656b9c288dda3 Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 7 Nov 2024 21:20:58 +0100 Subject: [PATCH] Fix arm64 panic --- 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