diff --git a/ext/handlers/callbackquery.go b/ext/handlers/callbackquery.go index 67c9c933..bf34292e 100644 --- a/ext/handlers/callbackquery.go +++ b/ext/handlers/callbackquery.go @@ -43,6 +43,6 @@ func (cb CallbackQuery) CheckUpdate(b *gotgbot.Bot, ctx *ext.Context) bool { return cb.Filter == nil || cb.Filter(ctx.CallbackQuery) } -func (cb CallbackQuery) Name() string { - return fmt.Sprintf("inlinequery_%p", cb.Response) +func (cb *CallbackQuery) Name() string { + return fmt.Sprintf("callback_query_handler_%p", cb.Response) }