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

pub trait Caption<C>: MediaMessage<C> {
    fn caption(&self) -> &Text;
}

A general trait for messages with a caption.

Required methods

fn caption(&self) -> &Text

The caption of the message.

Loading content...

Implementors

impl<C> Caption<C> for Animation<C>[src]

impl<C> Caption<C> for Audio<C>[src]

impl<C> Caption<C> for Document<C>[src]

impl<C> Caption<C> for EditedAnimation<C>[src]

impl<C> Caption<C> for EditedAudio<C>[src]

impl<C> Caption<C> for EditedDocument<C>[src]

impl<C> Caption<C> for EditedPhoto<C>[src]

impl<C> Caption<C> for EditedVideo<C>[src]

impl<C> Caption<C> for Photo<C>[src]

impl<C> Caption<C> for Video<C>[src]

impl<C> Caption<C> for Voice<C>[src]

Loading content...