pub struct SendVideo<'c> { /* private fields */ }Expand description
Use this method to send an video
Implementations§
Source§impl<'c> SendVideo<'c>
impl<'c> SendVideo<'c>
pub fn new<C, V>(chat: C, video: V) -> SendVideo<'c>
pub fn thumb<V>(&mut self, thumb: V) -> &mut SendVideo<'c>where
V: Into<InputFileUpload>,
pub fn caption<T>(&mut self, caption: T) -> &mut SendVideo<'c>
pub fn parse_mode(&mut self, parse_mode: ParseMode) -> &mut SendVideo<'c>
pub fn duration(&mut self, duration: i64) -> &mut SendVideo<'c>
pub fn width(&mut self, width: i64) -> &mut SendVideo<'c>
pub fn height(&mut self, height: i64) -> &mut SendVideo<'c>
pub fn supports_streaming(&mut self) -> &mut SendVideo<'c>
pub fn reply_to<R>(&mut self, to: R) -> &mut SendVideo<'c>where
R: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut SendVideo<'c>where
R: Into<ReplyMarkup>,
pub fn disable_notification(&mut self) -> &mut SendVideo<'c>
Trait Implementations§
Source§impl<'c> PartialOrd for SendVideo<'c>
impl<'c> PartialOrd for SendVideo<'c>
Source§impl<'c> ToMultipart for SendVideo<'c>
impl<'c> ToMultipart for SendVideo<'c>
fn to_multipart(&self) -> Result<Vec<(&'static str, MultipartValue)>, Error>
impl<'c> StructuralPartialEq for SendVideo<'c>
Auto Trait Implementations§
impl<'c> !Freeze for SendVideo<'c>
impl<'c> RefUnwindSafe for SendVideo<'c>
impl<'c> Send for SendVideo<'c>
impl<'c> Sync for SendVideo<'c>
impl<'c> Unpin for SendVideo<'c>
impl<'c> UnsafeUnpin for SendVideo<'c>
impl<'c> UnwindSafe for SendVideo<'c>
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