fix: make BotDialog variants optional via providing default value
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m2s
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m2s
This commit is contained in:
parent
37d2480b4a
commit
31d38fbf48
@ -640,6 +640,7 @@ pub struct BotDialog {
|
|||||||
pub commands: HashMap<String, BotMessage>,
|
pub commands: HashMap<String, BotMessage>,
|
||||||
pub buttons: HashMap<String, BotMessage>,
|
pub buttons: HashMap<String, BotMessage>,
|
||||||
stateful_msg_handlers: HashMap<String, BotMessage>,
|
stateful_msg_handlers: HashMap<String, BotMessage>,
|
||||||
|
#[serde(default)]
|
||||||
variants: HashMap<String, HashMap<String, BotMessage>>,
|
variants: HashMap<String, HashMap<String, BotMessage>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user