pub struct InputMessageVideoNote {
    pub video_note: InputFile,
    pub thumbnail: InputThumbnail,
    pub duration: i32,
    pub length: i32,
}Expand description
A video note message
Fields§
§video_note: InputFileVideo note to be sent
thumbnail: InputThumbnailVideo thumbnail, if available
duration: i32Duration of the video, in seconds
length: i32Video width and height; must be positive and not greater than 640
Trait Implementations§
Source§impl Clone for InputMessageVideoNote
 
impl Clone for InputMessageVideoNote
Source§fn clone(&self) -> InputMessageVideoNote
 
fn clone(&self) -> InputMessageVideoNote
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for InputMessageVideoNote
 
impl Debug for InputMessageVideoNote
Source§impl<'de> Deserialize<'de> for InputMessageVideoNote
 
impl<'de> Deserialize<'de> for InputMessageVideoNote
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputMessageVideoNote
impl RefUnwindSafe for InputMessageVideoNote
impl Send for InputMessageVideoNote
impl Sync for InputMessageVideoNote
impl Unpin for InputMessageVideoNote
impl UnwindSafe for InputMessageVideoNote
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more