Skip to main content

getJoinedGroupList

Feature Introduction

Note

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)getJoinedGroupListWithOnSuccess:(nullable OIMGroupsInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

None

Return Results

Parameter NameData TypeDescription
onSuccessNSArray< OIMGroupInfo *>Successful return
onFailureOIMFailureCallbackFailed return

Code Example


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