1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::types::User;

message_base! {
    struct NewMembers {
        /// The new members.
        members: Vec<User>,
    } -> EventLoop::new_members

    fn new(members: Vec<User>,) -> Self {
        Self {
            members: members,
        }
    }
}