Skip to main content

getSpecifiedGroupsInfo

Feature Introduction

Description

Retrieve information about specified groups.

Note

The list of groups is recommended to have a maximum of 100 at a time.

Function Prototype


- (void)getSpecifiedGroupsInfo:(NSArray <NSString *> *)groupsID
onSuccess:(nullable OIMGroupsInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameData TypeRequiredDescription
groupsIDNSArray <NSString *>YesList of Group IDs

Return Values

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

Code Example


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