Trait tbot::contexts::fields::MediaMessage
source · 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 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.