Trait tbot::contexts::fields::Photo

source ·
pub trait Photo: MediaMessage {
    fn photo(&self) -> &[PhotoSize];
}
Expand description

A general trait for photo messages.

Required Methods§

The photo of the message.

Implementors§