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