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

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

Get source ChatId from the type reference.

Required methods

pub fn to_source_chat(&self) -> ChatId[src]

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 as Deref>::Target: ToSourceChat
[src]

Loading content...