pub(crate) async fn sync( client: Client, initial_sync_token: Option<String>, session_file: &Path, ) -> Result<()>
Setup the client to listen to new messages.