tbot 0.5.0

Make cool Telegram bots with Rust easily.
Documentation
use crate::{contexts::fields, types};

media_message! {
    struct Location {
        /// The location.
        location: types::Location,
    } -> EventLoop::location

    fn new() -> Self {
        Self { }
    }
}

impl<C> fields::Location<C> for Location<C> {
    #[must_use]
    fn location(&self) -> &types::Location {
        &self.location
    }
}