feat: Added getFriendListPageMap interface.

main
Brett 8 months ago
parent 29b43d03ac
commit 9f57971ee9
  1. 10
      lib/src/manager/im_friendship_manager.dart

@ -90,6 +90,16 @@ class FriendshipManager {
})) }))
.then((value) => Utils.toListMap(value)); .then((value) => Utils.toListMap(value));
Future<List<dynamic>> 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 /// Set Friend's Remark
/// [userID] Friend's userID /// [userID] Friend's userID
/// [remark] Friend's remark /// [remark] Friend's remark

Loading…
Cancel
Save