pub trait CanReplySendPhoto {
// Required method
fn photo_reply<'c, T>(&self, photo: T) -> SendPhoto<'c>
where T: Into<InputFile>;
}Expand description
Can reply with an photo
Required Methods§
fn photo_reply<'c, T>(&self, photo: T) -> SendPhoto<'c>
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.