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