mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
add payment import to other.rs
This commit is contained in:
parent
3c97b34fef
commit
631159f92d
2 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
use serde::Deserialize;
|
||||
use crate::core::payments::{SuccessfulPayment, Invoice};
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct User {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
use serde::Deserialize;
|
||||
use crate::core::other::User;
|
||||
|
||||
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct SendInvoice {
|
||||
chat_id: i64,
|
||||
|
|
Loading…
Reference in a new issue