OnReceiveJoinApplicationCallback
Introduction
The callback of new entry group application received event, triggered only for group owner and group administrators.
Returned template
OnReceiveJoinApplicationCallback = void Function(
String groupID,
V2TimGroupMemberInfo member,
String opReason
)
Return value details
| name | type | description |
|---|---|---|
| groupID | String | The group ID. |
| member | V2TimGroupMemberInfo | The ID of the applicant. |
| opReason | String | The reason for the application. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onReceiveJoinApplication:
(String groupID, V2TimGroupMemberInfo member, String opReason) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);