mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Update examples/dialogue_bot
This commit is contained in:
parent
4e51eb9127
commit
aec1abde62
1 changed files with 4 additions and 4 deletions
|
@ -8,16 +8,16 @@ use super::transitions::{
|
|||
#[derive(BotDialogue, SmartDefault, From)]
|
||||
pub enum Dialogue {
|
||||
#[default]
|
||||
#[handler(start)]
|
||||
#[transition(start)]
|
||||
Start(StartState),
|
||||
|
||||
#[handler(receive_days_of_week)]
|
||||
#[transition(receive_days_of_week)]
|
||||
ReceiveDaysOfWeek(ReceiveDaysOfWeekState),
|
||||
|
||||
#[handler(receive_10x5_answer)]
|
||||
#[transition(receive_10x5_answer)]
|
||||
Receive10x5Answer(Receive10x5AnswerState),
|
||||
|
||||
#[handler(receive_gandalf_alternative_name)]
|
||||
#[transition(receive_gandalf_alternative_name)]
|
||||
ReceiveGandalfAlternativeName(ReceiveGandalfAlternativeNameState),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue