tbot 0.2.2

Make cool Telegram bots with Rust easily.
Documentation
use crate::types::{self, message::Text};

media_message! {
    struct Animation {
        /// The animation.
        animation: types::Animation,
        /// The caption of the animation.
        caption: Text,
    } -> EventLoop::animation

    fn new(caption: Text,) -> Self {
        Self {
            caption: caption,
        }
    }
}