Skip to main content

isJoinGroup

Feature Introduction

Description

Whether the current user joins a group

Function Prototype


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

Input Parameters

Parameter NameParameter TypeRequiredDescription
groupIDNSStringYesGroup ID

Return Results

Parameter NameParameter TypeDescription
onSuccessOIMSuccessCallbackSuccess return
onFailureOIMFailureCallbackFailure return

Code Example


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