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

pub trait AnyText: MediaMessage {
    fn text(&self) -> &Text;
}

Unites Text and Caption.

Required methods

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

The text or the caption of the message.

Loading content...

Implementors

impl AnyText for Animation[src]

impl AnyText for Audio[src]

impl AnyText for Command[src]

impl AnyText for Document[src]

impl AnyText for EditedAnimation[src]

impl AnyText for EditedAudio[src]

impl AnyText for EditedCommand[src]

impl AnyText for EditedDocument[src]

impl AnyText for EditedPhoto[src]

impl AnyText for EditedText[src]

impl AnyText for EditedVideo[src]

impl AnyText for Photo[src]

impl AnyText for Text[src]

impl AnyText for Video[src]

impl AnyText for Voice[src]

Loading content...