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

pub trait ToChatRef {
    fn to_chat_ref(&self) -> ChatRef;
}

Get ChatRef from the type reference.

Required methods

fn to_chat_ref(&self) -> ChatRef[src]

Loading content...

Implementors

impl ToChatRef for Chat[src]

impl ToChatRef for MessageChat[src]

impl ToChatRef for ForwardFrom[src]

impl ToChatRef for ChatRef[src]

impl ToChatRef for Channel[src]

impl ToChatRef for Group[src]

impl ToChatRef for Supergroup[src]

impl ToChatRef for User[src]

impl ToChatRef for ChatMember[src]

impl ToChatRef for Forward[src]

impl ToChatRef for ChannelId[src]

impl ToChatRef for ChatId[src]

impl ToChatRef for GroupId[src]

impl ToChatRef for SupergroupId[src]

impl ToChatRef for UserId[src]

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

Loading content...