Package io.rong.imkit.usermanage.handler

## Class GroupApplicationOperationsHandler

- All Implemented Interfaces:

      public class GroupApplicationOperationsHandler

  群组申请操作

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

  Since:

    5.12.2

  Author:

    rongcloud

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static DataKey<Boolean>` | `KEY_ACCEPT_GROUP_INVITE` |
    `public final static DataKey<Boolean>` | `KEY_REFUSE_GROUP_INVITE` |
    `public final static DataKey<CoreErrorCode>` | `KEY_ACCEPT_GROUP_APPLICATION` |
    `public final static DataKey<Boolean>` | `KEY_REFUSE_GROUP_APPLICATION` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GroupApplicationOperationsHandler()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `acceptGroupInvite(String groupId, String inviterId)` | 接受群邀请
    `void` | `refuseGroupInvite(String groupId, String inviterId, String reason)` | 拒绝群邀请
    `void` | `acceptGroupApplication(String groupId, String inviterId, String applicantId)` | 接受群申请
    `void` | `refuseGroupApplication(String groupId, String inviterId, String applicantId, String reason)` | 拒绝群申请

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GroupApplicationOperationsHandler

          GroupApplicationOperationsHandler()

  - ### Method Detail

    - #### acceptGroupInvite

           void acceptGroupInvite(String groupId, String inviterId)

      接受群邀请

      Parameters:
        `groupId` - 群组ID
        `inviterId` - 邀请人ID

    - #### refuseGroupInvite

           void refuseGroupInvite(String groupId, String inviterId, String reason)

      拒绝群邀请

      Parameters:
        `groupId` - 群组ID
        `inviterId` - 邀请人ID
        `reason` - 拒绝原因

    - #### acceptGroupApplication

           void acceptGroupApplication(String groupId, String inviterId, String applicantId)

      接受群申请

      Parameters:
        `groupId` - 群组ID
        `inviterId` - 邀请人ID
        `applicantId` - 申请人ID

    - #### refuseGroupApplication

           void refuseGroupApplication(String groupId, String inviterId, String applicantId, String reason)

      拒绝群申请

      Parameters:
        `groupId` - 群组ID
        `inviterId` - 邀请人ID
        `applicantId` - 申请人ID
        `reason` - 拒绝原因