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

pub trait Forward: MediaMessage {
    fn forward(&self) -> Option<&Forward>;
}

A general trait for messages that can be a forward.

Required methods

fn forward(&self) -> Option<&Forward>[src]

The origin of the message if it’s a forward.

Loading content...

Implementors

impl Forward for Animation[src]

impl Forward for Audio[src]

impl Forward for Command[src]

impl Forward for ConnectedWebsite[src]

impl Forward for Contact[src]

impl Forward for Dice[src]

impl Forward for Document[src]

impl Forward for Game[src]

impl Forward for Invoice[src]

impl Forward for Location[src]

impl Forward for Passport[src]

impl Forward for Payment[src]

impl Forward for Photo[src]

impl Forward for Poll[src]

impl Forward for Sticker[src]

impl Forward for Text[src]

impl Forward for Venue[src]

impl Forward for Video[src]

impl Forward for VideoNote[src]

impl Forward for Voice[src]

Loading content...