Does anyone know of a way to archive all messages in Android/Google Messages maybe older than a certain timeframe?

I have 100s of old conversations spanning back several years. I finally decided it would be nice to archive (not delete) ones that aren’t relevant at the moment. The only way I figured to do this is swipe each conversation one by one.

Is there a faster way to just do it all in one swoop?

Edit: I wrote a quick script to do it via manipulating the Google Messages webui: https://sh.itjust.works/comment/4646349 Worked for me!