跳到主要内容

isJoinGroup

功能介绍

说明

当前用户是否加入某个群组

函数原型


- (void)isJoinedGroup:(NSString *)groupID
onSuccess:(nullable OIMBoolCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

输入参数

参数名称参数类型是否必填描述
groupIDNSString群ID

返回结果

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

代码示例


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