Package io.rong.imkit.usermanage.handler

## Class GroupInfoHandler

- All Implemented Interfaces:

      public class GroupInfoHandler

  用于获取群组信息、群成员信息等

  用于获取群组信息、群成员信息等

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

  Since:

    5.12.0

  Author:

    rongcloud

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static DataKey<GroupInfo>` | `KEY_GROUP_INFO` |
    `public final static DataKey<List<GroupMemberInfo>>` | `KEY_GET_GROUP_MEMBERS` |
    `public final static DataKey<List<GroupMemberInfo>>` | `KEY_SEARCH_GROUP_MEMBERS` |
    `public final static DataKey<List<FollowInfo>>` | `KEY_GROUP_FOLLOWS` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GroupInfoHandler(ConversationIdentifier conversationIdentifier)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `getGroupsInfo()` | 获取群组信息
    `void` | `getGroupMembers(List<String> userIds)` | 获取群成员信息
    `void` | `searchGroupMembers(String name)` | 搜索群成员 请使用 GroupMembersSearchPagedHandler 类进行搜索
    `void` | `getGroupFollows()` | 查询特别关注群成员
    `void` | `stop()` |

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

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

- - ### Constructor Detail

    - #### GroupInfoHandler

          GroupInfoHandler(ConversationIdentifier conversationIdentifier)

  - ### Method Detail

    - #### getGroupsInfo

           void getGroupsInfo()

      获取群组信息

    - #### getGroupMembers

           void getGroupMembers(List<String> userIds)

      获取群成员信息

      Parameters:
        `userIds` - 用户ID列表 如果userIds.

    - #### searchGroupMembers

          @Deprecated() void searchGroupMembers(String name)

      搜索群成员

      请使用 GroupMembersSearchPagedHandler 类进行搜索

      Parameters:
        `name` - 用户名

    - #### getGroupFollows

           void getGroupFollows()

      查询特别关注群成员

    - #### stop

           void stop()