Browse SDKs · Android
SDKsAndroid

Get sent group applications

Use getSendGroupApplicationList to retrieve group applications sent by the current user.

Copy

Configure pagination and filters in GetGroupApplicationListAsApplicantReq, then call getSendGroupApplicationList().

GetGroupApplicationListAsApplicantReq request = new GetGroupApplicationListAsApplicantReq(0, 20);
OpenIMClient.getInstance().groupManager.getSendGroupApplicationList(
    new OnBase<List<GroupApplicationInfo>>() {
        @Override public void onSuccess(List<GroupApplicationInfo> items) { /* items contains the current page. */ }
        @Override public void onError(int code, String error) { /* code and error describe the failure. */ }
    }, request);

After an application is accepted, receive the group-joined notification through onJoinedGroupAdded.