The matrix protocol is also worth looking into. I like it a lot more than ancient XMPP. More info can be obtained at https://matrix.org