Skip to main content

to_device_payloads

Function to_device_payloads 

Source
fn to_device_payloads<'a>(
    sender: &'a UserId,
    target_user: &'a UserId,
    deliveries: impl Iterator<Item = (&'a DeviceId, u64)> + 'a,
    event_type: &'a str,
    content: &'a Value,
) -> impl Iterator<Item = EduBuf> + 'a