1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
        }
    }
}