pub struct InputMessageVideoNote {
pub video_note: InputFile,
pub thumbnail: Option<InputThumbnail>,
pub duration: i32,
pub length: i32,
pub self_destruct_type: Option<MessageSelfDestructType>,
}
Expand description
A video note message
Fields§
§video_note: InputFile
Video note to be sent
thumbnail: Option<InputThumbnail>
Video thumbnail; may be null if empty; pass null to skip thumbnail uploading
duration: i32
Duration of the video, in seconds; 0-60
length: i32
Video width and height; must be positive and not greater than 640
self_destruct_type: Option<MessageSelfDestructType>
Video note self-destruct type; may be null if none; pass null if none; private chats only
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
Source§impl PartialEq for InputMessageVideoNote
impl PartialEq for InputMessageVideoNote
Source§impl Serialize for InputMessageVideoNote
impl Serialize for InputMessageVideoNote
impl StructuralPartialEq for InputMessageVideoNote
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