tbot 0.5.0

Make cool Telegram bots with Rust easily.
Documentation
use crate::types::PhotoSize;

message_base! {
    struct NewChatPhoto {
        /// The photo.
        photo: Vec<PhotoSize>,
    } -> EventLoop::new_chat_photo

    fn new(photo: Vec<PhotoSize>,) -> Self {
        Self {
            photo: photo,
        }
    }
}