Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
negasus committed Feb 27, 2024
1 parent e376830 commit a84712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/inline_keyboard/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func callbackHandler(ctx context.Context, b *bot.Bot, update *models.Update) {
ShowAlert: false,
})
b.SendMessage(ctx, &bot.SendMessageParams{
ChatID: update.CallbackQuery.Message.Chat.ID,
ChatID: update.CallbackQuery.Message.Message.Chat.ID,
Text: "You selected the button: " + update.CallbackQuery.Data,
})
}
Expand Down

0 comments on commit a84712f

Please sign in to comment.