get Chat
Retrieves a list of messages from all active chats.
Return
A Maybe that emits the Chat instance associated with the specified JID if found, or Nothing if no chat is associated with that JID. It may also emit an error if there is an issue retrieving the chat data.
Parameters
xmpp Jid
The XMPP JID of the chat to retrieve.
force Update
A flag indicating whether to force a refresh of the chat data from the server. When true, the method will bypass the cache and fetch the latest data. When false, it may return cached data if available.