pub trait MediaMessage: Message {
// Required methods
fn reply_to(&self) -> Option<&Message>;
fn author_signature(&self) -> Option<&str>;
fn reply_markup(&self) -> Option<&Keyboard>;
fn via_bot(&self) -> Option<&User>;
}
Expand description
A general trait for all non-service messages.
Required Methods§
The author’s signature, if enabled for the channel.
Sourcefn reply_markup(&self) -> Option<&Keyboard>
fn reply_markup(&self) -> Option<&Keyboard>
The inline keyboard attached to the message.