async fn select_expired_messages(
    context: &Context,
    now: i64
) -> Result<Vec<(MsgId, ChatId, Viewtype, u32)>>
Expand description

Selects messages which are expired according to delete_device_after setting or ephemeral_timestamp column.

For each message a row ID, chat id, viewtype and location ID is returned.