Struct telegram_bot_raw_ars::requests::send_video::SendVideo
source · 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) -> Selfwhere
C: ToChatRef,
V: Into<InputFile>,
pub fn thumb<V>(&mut self, thumb: V) -> &mut Selfwhere
V: Into<InputFileUpload>,
pub fn parse_mode(&mut self, parse_mode: ParseMode) -> &mut Self
pub fn duration(&mut self, duration: Integer) -> &mut Self
pub fn width(&mut self, width: Integer) -> &mut Self
pub fn height(&mut self, height: Integer) -> &mut Self
pub fn supports_streaming(&mut self) -> &mut Self
pub fn reply_to<R>(&mut self, to: R) -> &mut Selfwhere
R: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut Selfwhere
R: Into<ReplyMarkup>,
pub fn disable_notification(&mut self) -> &mut Self
Trait Implementations§
source§impl<'c> PartialEq<SendVideo<'c>> for SendVideo<'c>
impl<'c> PartialEq<SendVideo<'c>> for SendVideo<'c>
source§impl<'c> PartialOrd<SendVideo<'c>> for SendVideo<'c>
impl<'c> PartialOrd<SendVideo<'c>> for SendVideo<'c>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more