diff --git a/examples/inline_keyboard/main.go b/examples/inline_keyboard/main.go index 41c921a..fe95aee 100644 --- a/examples/inline_keyboard/main.go +++ b/examples/inline_keyboard/main.go @@ -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, }) }