Is iMessage open source? My Google searches didn't turn up very many results on the subject. If it is open source, can someone link to the documentation?
No, iMessage is not open source.

Proprietary Software

iMessage is proprietary software owned and operated by Apple. iMessage operates exclusively on Apple devices.