Skip to main content

setGroupMemberInfo

Feature Introduction

Description

Modify group member information.

Note

The group owner can modify the information of administrators and regular members; administrators can modify the information of regular members.

Relevant Callback: onGroupMemberInfoChanged

Function Prototype

- (void)setGroupMemberInfo:(OIMSetGroupMemberInfo *)groupMembersInfo
onSuccess:(nullable OIMSuccessCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameParameter TypeRequiredDescription
groupMembersInfoOIMSetGroupMemberInfoYesMember Info

Return Result

Parameter NameParameter TypeDescription
onSuccessOIMSuccessCallbackSuccess return
onFailureOIMFailureCallbackFailure return

Code Example

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