Any insights how they plug into iMessage?
1: https://www.xda-developers.com/how-to-use-imessage-android-b... -- see screenshot #2
The built-in Photos app is probably the most used one, typically you open it to create or select a picture to attach.
I'm not sure of the API or what it allows you to do, but it probably uses that same mechanism.