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

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

Get MessageId from the type reference.

Required methods

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::Target: ToMessageId
[src]

Loading content...