async fn select_expired_messages(
    context: &Context,
    now: i64
) -> Result<Vec<(MsgId, ChatId, Viewtype)>>
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 and viewtype is returned.