diff --git a/lib/src/manager/im_friendship_manager.dart b/lib/src/manager/im_friendship_manager.dart index 51820ee..df35301 100644 --- a/lib/src/manager/im_friendship_manager.dart +++ b/lib/src/manager/im_friendship_manager.dart @@ -90,6 +90,16 @@ class FriendshipManager { })) .then((value) => Utils.toListMap(value)); + Future> getFriendListPageMap({String? operationID, int offset = 0, int count = 40}) => _channel + .invokeMethod( + 'getFriendListPage', + _buildParam({ + 'offset': offset, + 'count': count, + "operationID": Utils.checkOperationID(operationID), + })) + .then((value) => Utils.toListMap(value)); + /// Set Friend's Remark /// [userID] Friend's userID /// [remark] Friend's remark