Skip to main content

getUsersInGroup

Feature Introduction

Description

Find out whether a group of users are in a specified group.

Function Prototype


- (void)getUsersInGroup:(NSString *)groupID
userIDs:(NSArray<NSString *> *)userIDs
onSuccess:(nullable OIMStringArrayCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

参数名称参数类型是否必填描述
groupIDNSString群ID
userIDsNSArray< String>用户ID 列表

Return Results

参数名称参数类型描述
onSuccessOIMSuccessCallback成功返回
onFailureOIMFailureCallback失败返回

Code Example


[OIMManager.manager getUsersInGroup:@""
userIDs: @[]
onSuccess:^(NSString * _Nullable data) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];