Added export handler macro

This commit is contained in:
2023-07-29 16:07:53 +03:00
parent 42088e69fe
commit b415277769
4 changed files with 36 additions and 50 deletions

View File

@ -1,22 +1,19 @@
//! This module consists of endpoints to handle the state
mod generic;
mod get_login;
mod get_master_pass;
mod get_new_master_pass;
mod get_new_name;
mod get_password;
mod get_user;
mod handler;
pub use get_login::get_login;
pub use get_master_pass::get_master_pass;
pub use get_new_master_pass::get_new_master_pass;
pub use get_new_name::get_new_name;
pub use get_password::get_password;
pub use get_user::get_user;
pub use handler::{Handler, MessageIds, PackagedHandler};
crate::export_handlers!(
get_login,
get_master_pass,
get_new_master_pass,
get_new_name,
get_password,
get_user
);
use crate::prelude::*;
use teloxide::dispatching::dialogue::InMemStorage;