Trait CanSendAudio

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

Send an audio

Required Methods§

Source

fn audio_url<'s, 'c, 'p, 't, T>(&self, url: T) -> SendAudio<'s, 'c, 'p, 't>
where T: Into<Cow<'s, str>>,

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,