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

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

A general trait for messages with a caption.

Required methods

fn caption(&self) -> &Text[src]

The caption of the message.

Loading content...

Implementors

impl Caption for Animation[src]

impl Caption for Audio[src]

impl Caption for Document[src]

impl Caption for EditedAnimation[src]

impl Caption for EditedAudio[src]

impl Caption for EditedDocument[src]

impl Caption for EditedPhoto[src]

impl Caption for EditedVideo[src]

impl Caption for Photo[src]

impl Caption for Video[src]

impl Caption for Voice[src]

Loading content...