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