add payment import to other.rs

This commit is contained in:
fedechkin_alexey 2019-09-02 13:11:54 +07:00
parent 3c97b34fef
commit 631159f92d
2 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
use serde::Deserialize; use serde::Deserialize;
use crate::core::payments::{SuccessfulPayment, Invoice};
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub struct User { pub struct User {

View file

@ -1,6 +1,9 @@
use serde::Deserialize; use serde::Deserialize;
use crate::core::other::User; use crate::core::other::User;
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub struct SendInvoice { pub struct SendInvoice {
chat_id: i64, chat_id: i64,