add struct

This commit is contained in:
P0lunin 2019-09-03 21:02:18 +03:00
parent dcdc776c50
commit 7262d54fa0

9
src/core/types/voice.rs Normal file
View 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>
}