onGroupDismissed
Feature Introduction
info
When a group is dismissed, all members of the group will receive this callback.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(GroupInfo info)? onGroupDismissed;
Return Results
Name | Type | Description |
---|---|---|
groupInfo | GroupInfo | Group Info |
Return Prototype
- (void)onGroupDismissed:(OIMGroupInfo *)changeInfo;
Return Results
Name | Type | Description |
---|---|---|
groupInfo | OIMGroupInfo | Group Info |
Return Prototype
void onGroupDismissed(GroupInfo info);
Return Results
Name | Type | Description |
---|---|---|
info | GroupInfo | Group Info |
Return Prototype
onGroupDismissed(data: WSEvent<GroupItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupItem> | Group Info |
Call Example
import { getSDK, CbEvents } from '@openim/wasm-client-sdk';
// or
// import { OpenIMSDK, CbEvents } from 'open-im-sdk';
// const IMSDK = new OpenIMSDK();
const IMSDK = getSDK();
IMSDK.on(CbEvents.OnGroupDismissed, ({ data }) => {
// data - Group Info
});
Return Prototype
onGroupDismissed(data: WSEvent<GroupItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupItem> | Group Info |
Call Example
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnGroupDismissed, ({ data }) => {
// data - Group Info
});
Prototype
void OnGroupMemberAdded(GroupMember info);
Parameter
Parameter Name | Type | Description |
---|---|---|
info | GroupMember | Group Member Info |