[][src]Trait telegram_bot_async::types::ToFileRef

pub trait ToFileRef {
    fn to_file_ref(&self) -> FileRef;
}

Get FileRef from the type reference.

Required methods

fn to_file_ref(&self) -> FileRef

Loading content...

Implementations on Foreign Types

impl ToFileRef for VideoNote[src]

Loading content...

Implementors

impl ToFileRef for Audio[src]

impl ToFileRef for Document[src]

impl ToFileRef for PhotoSize[src]

impl ToFileRef for Sticker[src]

impl ToFileRef for Video[src]

impl ToFileRef for Voice[src]

impl<S> ToFileRef for S where
    S: Deref,
    <S as Deref>::Target: ToFileRef
[src]

Loading content...