forwardMessagesToMultipleUsers method
Implementation
@override
Future<dynamic> forwardMessagesToMultipleUsers(
List<String> messageIds, List<String> userList) async {
//forwardMessage
dynamic forwardMessageResponse;
try {
forwardMessageResponse = await mirrorFlyMethodChannel.invokeMethod(
'forwardMessagesToMultipleUsers',
{"message_ids": messageIds, "userList": userList});
debugPrint("Forward Msg Response ==> $forwardMessageResponse");
return forwardMessageResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}