pub struct InputStoryContentVideo {
pub video: InputFile,
pub added_sticker_file_ids: Vec<i32>,
pub duration: f64,
pub is_animation: bool,
}
Expand description
A video story
Fields§
§video: InputFile
Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with x265 codec and key frames added each second
added_sticker_file_ids: Vec<i32>
File identifiers of the stickers added to the video, if applicable
duration: f64
Precise duration of the video, in seconds; 0-60
is_animation: bool
True, if the video has no sound
Trait Implementations§
Source§impl Clone for InputStoryContentVideo
impl Clone for InputStoryContentVideo
Source§fn clone(&self) -> InputStoryContentVideo
fn clone(&self) -> InputStoryContentVideo
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 InputStoryContentVideo
impl Debug for InputStoryContentVideo
Source§impl<'de> Deserialize<'de> for InputStoryContentVideo
impl<'de> Deserialize<'de> for InputStoryContentVideo
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 InputStoryContentVideo
impl PartialEq for InputStoryContentVideo
Source§impl Serialize for InputStoryContentVideo
impl Serialize for InputStoryContentVideo
impl StructuralPartialEq for InputStoryContentVideo
Auto Trait Implementations§
impl Freeze for InputStoryContentVideo
impl RefUnwindSafe for InputStoryContentVideo
impl Send for InputStoryContentVideo
impl Sync for InputStoryContentVideo
impl Unpin for InputStoryContentVideo
impl UnwindSafe for InputStoryContentVideo
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