getUnsentMessageOf static method
Retrieves the Typed unsent message of a given JID.
This static method asynchronously fetches the unsent message for a specific JID from the Mirrorfly chat.
jid
is for which to retrieve the unsent message.
Returns a Future that completes with the unsent message as a Map String, with mentionedUsers {"mentionedUsers":[],"textContent":""} or null if no unsent message is found.
Implementation
static Future<String?> getUnsentMessageOf({required String jid}) {
return FlyChatFlutterPlatform.instance.getUnsentMessageOf(jid);
}