Skip to main content

getJoinedGroupList

Description

info

Get the list of joined groups.

Note

If the joined group has been dismissed, it will not be returned.

Function Prototype


- (void)getJoinedGroupListWithOnSuccess:(nullable OIMGroupsInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

None

Return Result

Parameter NameParameter TypeDescription
onSuccessNSArray< OIMGroupInfo *>Success
onFailureOIMFailureCallbackFailure

Code Example


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