pub trait MediaMessage: Message {
    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 replied message.

The author’s signature, if enabled for the channel.

The inline keyboard attached to the message.

The bot via which the message was sent.