Updated delete callback handler to alter a message if /delete command was used

This commit is contained in:
2023-08-11 15:15:35 +03:00
parent 6691ab12de
commit 06492bf31e
5 changed files with 34 additions and 20 deletions

View File

@@ -67,7 +67,7 @@ pub fn account_markup(name: &str, is_encrypted: bool) -> InlineKeyboardMarkup {
("Alter login", "al"),
("Alter password", "ap"),
encryption_button,
("Delete account", "delete"),
("Delete account", "delete0"),
]
.into_iter()
.map(|(text, command)| make_button(text, command, hash))