[][src]Trait tbot::contexts::fields::Photo

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

A general trait for photo messages.

Required methods

fn photo(&self) -> &[PhotoSize]

The photo of the message.

Loading content...

Implementors

impl Photo for EditedPhoto[src]

impl Photo for Photo[src]

Loading content...