feat: Added getFriendListPageMap interface.

This commit is contained in:
Brett 2024-08-15 16:28:18 +08:00
parent 29b43d03ac
commit 9f57971ee9

View File

@ -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