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
7262d54fa0
commit
b4cfb893e9
1 changed files with 10 additions and 0 deletions
10
src/core/types/video_note.rs
Normal file
10
src/core/types/video_note.rs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
use serde::Deserialize;
|
||||||
|
|
||||||
|
#[derive(Debug, Deserialize)]
|
||||||
|
struct VideoNote {
|
||||||
|
file_id: String,
|
||||||
|
length: u32,
|
||||||
|
duration: u32,
|
||||||
|
thumb: Option<PhotoSize>,
|
||||||
|
file_size: Option<u32>,
|
||||||
|
}
|
Loading…
Reference in a new issue