[][src]Trait telegram_bot::types::ToMessageId

pub trait ToMessageId {
    pub fn to_message_id(&self) -> MessageId;
}

Get MessageId from the type reference.

Required methods

pub fn to_message_id(&self) -> MessageId[src]

Loading content...

Implementors

impl ToMessageId for MessageOrChannelPost[src]

impl ToMessageId for ChannelPost[src]

impl ToMessageId for Message[src]

impl ToMessageId for MessageId[src]

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

Loading content...