RCS is a bundle of things. It's not an inline protocol of just messages with attached metadata like SMS.
Software is one part on the phone, then you have transmission services at the network, and THEN you have metadata/status services which translate between carriers and such.
No idea how Apple is doing it, and they won't tell you either, all they have to do is be in compliance with the protocol to make it work.