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

message_base! {
    struct Migration {
        /// The old ID of the group.
        old_id: chat::Id,
    } -> EventLoop::migration

    fn new(old_id: chat::Id,) -> Self {
        Self {
            old_id: old_id,
        }
    }
}