mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Call dialogue.exit()
after a successful purchase
This commit is contained in:
parent
a514c845cb
commit
d7b6229516
1 changed files with 1 additions and 2 deletions
|
@ -130,9 +130,8 @@ async fn receive_product_selection(
|
|||
format!("{full_name}, product '{product}' has been purchased successfully!"),
|
||||
)
|
||||
.await?;
|
||||
dialogue.exit().await?;
|
||||
}
|
||||
|
||||
dialogue.update(State::Start).await?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue