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

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

A general trait for photo messages.

Required methods

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

The photo of the message.

Loading content...

Implementors

impl Photo for EditedPhoto[src]

impl Photo for Photo[src]

Loading content...