onGroupApplicationRejected
Feature Introduction
info
When a group application is rejected, the applicant, as well as the group owner and administrators, receive this callback.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(GroupApplicationInfo info)? onGroupApplicationRejected;
Return Results
Name | Type | Description |
---|---|---|
info | GroupApplicationInfo | Group Application Info |
Return Prototype
- (void)onGroupApplicationRejected:(OIMGroupApplicationInfo *)groupApplication;
Return Results
Name | Type | Description |
---|---|---|
application | OIMGroupApplicationInfo | Group Application Info |
Return Prototype
void onGroupApplicationRejected(GroupApplicationInfo info);
Return Results
Name | Type | Description |
---|---|---|
info | GroupApplicationInfo | Group Application Info |
Return Prototype
onGroupApplicationRejected(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.OnGroupApplicationRejected, ({ data }) => {
// data - Group Application
});
Return Prototype
onGroupApplicationRejected(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.OnGroupApplicationRejected, ({ data }) => {
// data - Group Application
});
Prototype
void OnGroupApplicationRejected(GroupApplicationInfo application);
Parameter
Parameter Name | Type | Description |
---|---|---|
application | GroupApplicationInfo | Group Application Info |