diff --git a/src/main.rs b/src/main.rs index b9025ae..e52fcdb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,14 +62,6 @@ impl LogMsg for ::SendMessage { } } -macro_rules! single_button_markup { - ($button:expr) => { - InlineKeyboardMarkup { - inline_keyboard: vec![vec![$button]], - } - }; -} - #[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)] pub enum State { #[default] diff --git a/src/utils.rs b/src/utils.rs index 0025876..f2a31dd 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -6,6 +6,14 @@ use crate::{ BotResult, }; +macro_rules! single_button_markup { + ($button:expr) => { + InlineKeyboardMarkup { + inline_keyboard: vec![vec![$button]], + } + }; +} + pub async fn create_callback_button( literal: &str, ci: CallbackInfo,