diff --git a/telebot.go b/telebot.go index 0e35062..4705587 100644 --- a/telebot.go +++ b/telebot.go @@ -111,7 +111,7 @@ const ( OnVideoChatScheduled = "\avideo_chat_scheduled" OnBoost = "\aboost_updated" - onBoostRemoved = "\aboost_removed" + OnBoostRemoved = "\aboost_removed" ) // ChatAction is a client-side status indicating bot activity. diff --git a/update.go b/update.go index edd49b6..63396dd 100644 --- a/update.go +++ b/update.go @@ -319,7 +319,7 @@ func (b *Bot) ProcessUpdate(u Update) { } if u.BoostRemoved != nil { - b.handle(onBoostRemoved, c) + b.handle(OnBoostRemoved, c) return } }