Skip to main content

getJoinedGroupListPage

Feature Introduction

Note

Split fetch the list of groups you've joined.

Warning

If a joined group has been disbanded, it won't appear in the returned list.

Function Signature


- (void)getJoinedGroupListPageWithOffset:(NSInteger)offset
count:(NSInteger)count
onSuccess:(nullable OIMGroupsInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

参数名称参数类型是否必填描述
offsetint分页拉取起始下标
countint一页拉取的数量

Return Results

参数名称参数类型描述
onSuccessNSArray< OIMGroupInfo *>成功返回
onFailureOIMFailureCallback失败返回

Code Example


[OIMManager.manager getJoinedGroupListWithOffset:
count:
onSuccess:^(NSArray<OIMGroupInfo *> * _Nullable groupsInfo) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];