[][src]Trait telegram_bot_raw::types::refs::ToSourceChat

pub trait ToSourceChat {
    fn to_source_chat(&self) -> ChatId;
}

Get source ChatId from the type reference.

Required methods

fn to_source_chat(&self) -> ChatId

Loading content...

Implementors

impl ToSourceChat for MessageOrChannelPost[src]

impl ToSourceChat for ChannelPost[src]

impl ToSourceChat for Message[src]

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

Loading content...