pub trait CanEditMessageCaption {
// Required method
fn edit_caption<'s, T>(&self, caption: T) -> EditMessageCaption<'s>
where T: Into<Cow<'s, str>>;
}Expand description
Edit captions of messages sent by the bot.
Required Methods§
fn edit_caption<'s, T>(&self, caption: T) -> EditMessageCaption<'s>
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.