getDocsMessages static method
Retrieves document messages for a specific JID.
This method fetches document messages (e.g., PDFs, DOCs) for the specified JID.
Params:
jid
: The JID to fetch document messages for.
Returns:
- A
Future<String?>
that completes with the document messages.
Usage example:
String jid = "user_jid";
Mirrorfly.getDocsMessages(jid: jid).then((docsMessages) {
// Handle the document messages
print("Document messages: $docsMessages");
});
Implementation
static Future<String?> getDocsMessages({required String jid}) {
return FlyChatFlutterPlatform.instance.getDocsMessages(jid);
}