diff --git a/src/core/other.rs b/src/core/other.rs index 66ad0037..ab42eaaa 100644 --- a/src/core/other.rs +++ b/src/core/other.rs @@ -1,4 +1,5 @@ use serde::Deserialize; +use crate::core::payments::{SuccessfulPayment, Invoice}; #[derive(Debug, Deserialize)] pub struct User { diff --git a/src/core/payments.rs b/src/core/payments.rs index 37bd0ef7..008b8f5a 100644 --- a/src/core/payments.rs +++ b/src/core/payments.rs @@ -1,6 +1,9 @@ use serde::Deserialize; use crate::core::other::User; + + + #[derive(Debug, Deserialize)] pub struct SendInvoice { chat_id: i64,