mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
add struct
This commit is contained in:
parent
dcdc776c50
commit
7262d54fa0
1 changed files with 9 additions and 0 deletions
9
src/core/types/voice.rs
Normal file
9
src/core/types/voice.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
use serde::Deserialize;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct Voice {
|
||||
file_id: String,
|
||||
duration: u32,
|
||||
mime_type: Option<String>,
|
||||
file_size: Option<u64>
|
||||
}
|
Loading…
Reference in a new issue