acceptFriendApplication method

Future acceptFriendApplication({
  1. required String userID,
  2. String? handleMsg,
  3. String? operationID,
})

Accept Friend Request userID User ID handleMsg Remark description

Implementation

Future<dynamic> acceptFriendApplication({
  required String userID,
  String? handleMsg,
  String? operationID,
}) =>
    _channel.invokeMethod(
        'acceptFriendApplication',
        _buildParam({
          "toUserID": userID,
          "handleMsg": handleMsg,
          "operationID": Utils.checkOperationID(operationID),
        }));