getUnsentMessageOfAJid static method

Future<String?> getUnsentMessageOfAJid({
  1. required String jid,
})

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 String, or null if no unsent message is found.

Implementation

static Future<String?> getUnsentMessageOfAJid({required String jid}) {
  return FlyChatFlutterPlatform.instance.getUnsentMessageOfAJid(jid);
}