Skip to content

Commit

Permalink
Fix arm64 panic (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Nov 8, 2024
1 parent 7500be4 commit 78afaa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -51,7 +53,6 @@ type Bot struct {
handlers []handler

client HttpClient
lastUpdateID int64
isDebug bool
checkInitTimeout time.Duration

Expand Down

0 comments on commit 78afaa2

Please sign in to comment.