mirror of
https://github.com/teloxide/teloxide.git
synced 2024-10-24 09:57:18 +02:00
A small fix in examples/dialogue_bot
This commit is contained in:
parent
a6144d7a26
commit
da1762039d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ pub async fn receive_full_name(cx: In<ReceiveFullNameState>) -> Out {
|
|||
cx.answer_str("What a wonderful name! Your age?").await?;
|
||||
next(dialogue.up(full_name))
|
||||
}
|
||||
None => {
|
||||
_ => {
|
||||
cx.answer_str("Please, enter a text message!").await?;
|
||||
next(dialogue)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue