# GroupApplicationOperationsHandler

public class GroupApplicationOperationsHandler

群组申请操作

注意：使用完毕后需要调用 stop 方法释放资源

#### Author

rongcloud

#### Since

5.12.2

## Constructors

GroupApplicationOperationsHandler
Link copied to clipboard
public void GroupApplicationOperationsHandler()

## Properties

KEY_ACCEPT_GROUP_APPLICATION
Link copied to clipboard
public final static DataKey<CoreErrorCode> KEY_ACCEPT_GROUP_APPLICATION
用于同意入群申请的操作
KEY_ACCEPT_GROUP_INVITE
Link copied to clipboard
public final static DataKey<Boolean> KEY_ACCEPT_GROUP_INVITE
用于同意入群邀请的操作
KEY_REFUSE_GROUP_APPLICATION
Link copied to clipboard
public final static DataKey<Boolean> KEY_REFUSE_GROUP_APPLICATION
用于拒绝入群申请的操作
KEY_REFUSE_GROUP_INVITE
Link copied to clipboard
public final static DataKey<Boolean> KEY_REFUSE_GROUP_INVITE
用于拒绝入群邀请的操作

## Functions

acceptGroupApplication
Link copied to clipboard
public void acceptGroupApplication(String groupId, String inviterId, String applicantId)
接受群申请
acceptGroupInvite
Link copied to clipboard
public void acceptGroupInvite(String groupId, String inviterId)
接受群邀请
refuseGroupApplication
Link copied to clipboard
public void refuseGroupApplication(String groupId, String inviterId, String applicantId, String reason)
拒绝群申请
refuseGroupInvite
Link copied to clipboard
public void refuseGroupInvite(String groupId, String inviterId, String reason)
拒绝群邀请