onGroupMemberDeleted
Feature Introduction
info
When a group member is removed (e.g., a member leaves the group), other members of the group will receive this callback.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(GroupMembersInfo info)? onGroupMemberDeleted;
Return Results
Name | Type | Description |
---|---|---|
info | GroupMembersInfo | Group Member Info |
Return Prototype
- (void)onGroupMemberDeleted:(OIMGroupMemberInfo *)memberInfo;
Return Results
Name | Type | Description |
---|---|---|
memberInfo | OIMGroupMemberInfo | Group Member Info |
Return Prototype
void onGroupMemberDeleted(GroupMembersInfo info);
Return Results
Name | Type | Description |
---|---|---|
info | GroupMembersInfo | Group Member Info |
Return Prototype
onGroupMemberDeleted(data: WSEvent<GroupMemberItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupMemberItem> | Group Member Info |
Call Example
import { getSDK, CbEvents } from '@openim/wasm-client-sdk';
// or
// import { getSDK, CbEvents } from '@openim/client-sdk';
// const IMSDK = getSDK();
const IMSDK = getSDK();
IMSDK.on(CbEvents.OnGroupMemberDeleted, ({ data }) => {
// data - Group Member Info
});
Return Prototype
onGroupMemberDeleted(data: WSEvent<GroupMemberItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupMemberItem> | Group Member Info |
Call Example
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnGroupMemberDeleted, ({ data }) => {
// data - Group Member Info
});
Prototype
void OnGroupMemberDeleted(GroupMember info);
Parameter
Parameter Name | Type | Description |
---|---|---|
info | GroupMember | Group Member Info |