Skip to main content

getSpecifiedGroupsInfo

Description​

info

Get the specified group information.

Note

It is recommended that the group list is 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 NameParameter TypeRequiredDescription
groupsIDNSArray <NSString *>YesList of Group IDs

Return Result​

Parameter NameParameter TypeDescription
onSuccessNSArray< OIMGroupInfo *>Success
onFailureOIMFailureCallbackFailure

Code Example​


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