Struct awesome_bot::SendVideo [−][src]
pub struct SendVideo { /* fields omitted */ }Transparent struct built by SendBuilder to send
Video
messages.
Methods
impl SendVideo[src]
impl SendVideopub fn caption(&mut self, v: String) -> &mut SendVideo[src]
pub fn caption(&mut self, v: String) -> &mut SendVideoSet a caption to be included with the message.
pub fn duration(&mut self, v: Integer) -> &mut SendVideo[src]
pub fn duration(&mut self, v: Integer) -> &mut SendVideoSet the duration of the video
pub fn reply_id(&mut self, v: Integer) -> &mut SendVideo[src]
pub fn reply_id(&mut self, v: Integer) -> &mut SendVideoSet a message ID to reply with this message.
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendVideo[src]
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendVideoSet a ReplyMarkup to send, but instead of this, use the keyboard, hide or force methods
impl SendVideo[src]
impl SendVideoAdd keyboard methods to the struct, only one of these will be sent, and it will be the last one used.
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendVideo[src]
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendVideoAdd a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendVideo[src]
pub fn hide(&mut self, h: bool) -> &mut SendVideoHide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendVideo[src]
pub fn force(&mut self, f: bool) -> &mut SendVideoForce the reply to this message