forwardMessagesToMultipleUsers method

  1. @override
Future forwardMessagesToMultipleUsers(
  1. List<String> messageIds,
  2. List<String> userList
)
override

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});
    LogMessage.d("Forward Msg Response ", " $forwardMessageResponse");
    return forwardMessageResponse;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}