Skip to main content

CanSendPhoto

Trait CanSendPhoto 

Source
pub trait CanSendPhoto {
    // Required method
    fn photo<'c, T>(&self, photo: T) -> SendPhoto<'c>
       where T: Into<InputFile>;
}
Expand description

Send an photo

Required Methods§

Source

fn photo<'c, T>(&self, photo: T) -> SendPhoto<'c>
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> CanSendPhoto for M
where M: ToChatRef,