Connects a chat session.
Creates a new chat.
Fetches all individual chats related to this user.
Contains the list of chat instances associated with the current user.
Emits when a Chat is created.
Emits when a Chat is removed.
Emits when a Chat is updated.
Emits the XMPP session state whenever it changes. When a subscriber is added, it will also emit the current value.