whatsapp_rust/
sync_task.rs

1use wacore::appstate::patch_decode::WAPatchName;
2use waproto::whatsapp::message::HistorySyncNotification;
3
4#[derive(Debug)]
5pub enum MajorSyncTask {
6    HistorySync {
7        message_id: String,
8        notification: Box<HistorySyncNotification>,
9    },
10    AppStateSync {
11        name: WAPatchName,
12        full_sync: bool,
13    },
14}