Merge pull request #798 from teloxide/merge-small-master

Merge a small change from `master`
This commit is contained in:
Sima Kinsart 2022-12-28 20:05:06 +06:00 committed by GitHub
commit 4089b29afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,6 @@ async fn callback_handler(bot: Bot, q: CallbackQuery) -> Result<(), Box<dyn Erro
let text = format!("You chose: {version}");
// Tell telegram that we've seen this query, to remove 🕑 icons from the
//
// clients. You could also use `answer_callback_query`'s optional
// parameters to tweak what happens on the client side.
bot.answer_callback_query(q.id).await?;