onGroupApplicationAccepted
Feature Introduction
info
When a group join request is accepted, the initiator of the request, the group owner, and the administrators of the group will receive this callback.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(GroupApplicationInfo info)? onGroupApplicationAccepted;
Return Results
Name | Type | Description |
---|---|---|
info | GroupApplicationInfo | Group Application Info |
Return Prototype
- (void)onGroupApplicationAccepted:(OIMGroupApplicationInfo *)groupApplication;
Return Results
Name | Type | Description |
---|---|---|
application | OIMGroupApplicationInfo | Group Application Info |
Return Prototype
void onGroupApplicationAccepted(GroupApplicationInfo info)
Return Results
Name | Type | Description |
---|---|---|
info | GroupApplicationInfo | Group Application Info |
Return Prototype
onGroupApplicationAccepted(data: WSEvent<GroupApplicationItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupApplicationItem> | Group Application 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.OnGroupApplicationAccepted, ({ data }) => {
// data - Group Application
});
Return Prototype
onGroupApplicationAccepted(data: WSEvent<GroupApplicationItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<GroupApplicationItem> | Group Application Info |
Call Example
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnGroupApplicationAccepted, ({ data }) => {
// data - Group Application
});
Prototype
void OnGroupApplicationAccepted(GroupApplicationInfo application);
Parameter
Parameter Name | Type | Description |
---|---|---|
application | GroupApplicationInfo | Group Application Info |