Trait CanEditMessageCaption

Source
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§

Source

fn edit_caption<'s, T>(&self, caption: T) -> EditMessageCaption<'s>
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§