CanSendAudio

Trait CanSendAudio 

Source
pub trait CanSendAudio {
    // Required method
    fn audio<'c, 'p, 't, T>(&self, audio: T) -> SendAudio<'c, 'p, 't>
       where T: Into<InputFile>;
}
Expand description

Send an audio

Required Methods§

Source

fn audio<'c, 'p, 't, T>(&self, audio: T) -> SendAudio<'c, 'p, 't>
where T: Into<InputFile>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<M> CanSendAudio for M
where M: ToChatRef,