Skip to content

Commit

Permalink
Update callbackquery.go
Browse files Browse the repository at this point in the history
  • Loading branch information
TG-BOTSNETWORK authored Feb 16, 2024
1 parent d21da03 commit a5a418f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/handlers/callbackquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit a5a418f

Please sign in to comment.