isChatUnArchived static method
Checks if a chat is unarchived based on their JID.
This method sends a request to the Mirrorfly platform to determine whether a user with the specified JID is unarchived.
The jid
parameter is the JID of the chat to check.
Returns a Future that completes with a bool value:
true
if the user is unarchived.false
if the user is archived or if an error occurs during the request.
Implementation
static Future<bool?> isChatUnArchived({required String jid}) {
return FlyChatFlutterPlatform.instance.isUserUnArchived(jid);
}