Struct awesome_bot::SendVideo [−][src]
pub struct SendVideo { /* fields omitted */ }
Transparent struct built by SendBuilder
to send
Video
messages.
Methods
impl SendVideo
[src]
impl SendVideo
Set 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 SendVideo
Set 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 SendVideo
Set 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 SendVideo
Set a ReplyMarkup
to send, but instead of this, use the keyboard
, hide
or force
methods
impl SendVideo
[src]
impl SendVideo
Add 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 SendVideo
Add a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendVideo
[src]
pub fn hide(&mut self, h: bool) -> &mut SendVideo
Hide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendVideo
[src]
pub fn force(&mut self, f: bool) -> &mut SendVideo
Force the reply to this message