sendContactMessage method
Implementation
@override
Future<dynamic> sendContactMessage(List<String> contactList, String jid, String contactName, String replyMessageId, {String? topicId}) async {
dynamic contactResponse;
try {
contactResponse = await mirrorFlyMethodChannel.invokeMethod('sendContactMessage',
{"contact_list": contactList, "jid": jid, "contact_name": contactName, "replyMessageId": replyMessageId, "topicId": topicId});
// LogMessage.d("mediaResponse "," $readReceiptResponse");
return contactResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}