Merge pull request 'fix: make BotDialog variants optional via providing default value' (#23) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m4s
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m4s
Reviewed-on: #23
This commit is contained in:
commit
9bc104a0d5
@ -640,6 +640,7 @@ pub struct BotDialog {
|
||||
pub commands: HashMap<String, BotMessage>,
|
||||
pub buttons: HashMap<String, BotMessage>,
|
||||
stateful_msg_handlers: HashMap<String, BotMessage>,
|
||||
#[serde(default)]
|
||||
variants: HashMap<String, HashMap<String, BotMessage>>,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user