tbot 0.5.1

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

edited_message! {
    struct EditedLocation {
        /// The location.
        location: Location,
    } -> EventLoop::edited_location

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

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