Who understood this question, help to understand the concept.
My application is not a message manager, it is just one of the possibilities. It will be activated by going to which the user can select one user from the list of his friends and send him a text message ...
I read a little and understood that it needs to be implemented using the XMPP protocol ... But it is very difficult to implement it all, therefore there are clients that support the implementation of XMPP for both the server and the client ...
One of the most popular is Xabber ... And here it is already difficult for me ...
As far as I understand
You need to somehow implement Xabber into the application, but it itself works with already created Jabber clients ... That is, you need to register each user before installing the application in Jabber and then how to connect further ...
Is it really that confusing? Or is there an easier way? Explain where to look where to start?