[][src]Trait tbot::contexts::fields::Context

pub trait Context<C>: Sealed {
    fn bot(&self) -> &Bot<C>;
}

A general trait for all contexts.

Required methods

fn bot(&self) -> &Bot<C>

A bot for calling API without information inference.

Loading content...

Implementors

impl<C> Context<C> for Animation<C>[src]

impl<C> Context<C> for Audio<C>[src]

impl<C> Context<C> for ChosenInline<C>[src]

impl<C> Context<C> for ConnectedWebsite<C>[src]

impl<C> Context<C> for Contact<C>[src]

impl<C> Context<C> for CreatedGroup<C>[src]

impl<C> Context<C> for DataCallback<C>[src]

impl<C> Context<C> for DeletedChatPhoto<C>[src]

impl<C> Context<C> for Document<C>[src]

impl<C> Context<C> for EditedAnimation<C>[src]

impl<C> Context<C> for EditedAudio<C>[src]

impl<C> Context<C> for EditedDocument<C>[src]

impl<C> Context<C> for EditedLocation<C>[src]

impl<C> Context<C> for EditedPhoto<C>[src]

impl<C> Context<C> for EditedText<C>[src]

impl<C> Context<C> for EditedVideo<C>[src]

impl<C> Context<C> for Game<C>[src]

impl<C> Context<C> for GameCallback<C>[src]

impl<C> Context<C> for Inline<C>[src]

impl<C> Context<C> for Invoice<C>[src]

impl<C> Context<C> for LeftMember<C>[src]

impl<C> Context<C> for Location<C>[src]

impl<C> Context<C> for Migration<C>[src]

impl<C> Context<C> for NewChatPhoto<C>[src]

impl<C> Context<C> for NewChatTitle<C>[src]

impl<C> Context<C> for NewMembers<C>[src]

impl<C> Context<C> for Passport<C>[src]

impl<C> Context<C> for Payment<C>[src]

impl<C> Context<C> for Photo<C>[src]

impl<C> Context<C> for PinnedMessage<C>[src]

impl<C> Context<C> for Poll<C>[src]

impl<C> Context<C> for PreCheckout<C>[src]

impl<C> Context<C> for Shipping<C>[src]

impl<C> Context<C> for Sticker<C>[src]

impl<C> Context<C> for Text<C>[src]

impl<C> Context<C> for Unhandled<C>[src]

impl<C> Context<C> for Update<C>[src]

impl<C> Context<C> for UpdatedPoll<C>[src]

impl<C> Context<C> for Venue<C>[src]

impl<C> Context<C> for Video<C>[src]

impl<C> Context<C> for VideoNote<C>[src]

impl<C> Context<C> for Voice<C>[src]

Loading content...