use of com.fanap.podchat.requestobject.RemoveParticipantRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method removeParticipants.
private void removeParticipants() {
List<Invitee> inviteeList = new ArrayList<>();
List<Long> participantIds = new ArrayList<>();
participantIds.add(18476L);
// participantIds.add(5581L);
// participantIds.add(1261L);
// SET INVITEE LIST
Invitee invite = new Invitee("30150", InviteType.Constants.TO_BE_CORE_USER_ID);
Invitee invite2 = new Invitee("43593", InviteType.Constants.TO_BE_CORE_USER_ID);
// Invitee invite2 = new Invitee("5736", InviteType.Constants.TO_BE_CORE_USER_ID);
inviteeList.add(invite);
// inviteeList.add(invite2);
long threadId = TEST_THREAD_ID;
RemoveParticipantRequest request = new RemoveParticipantRequest.Builder(threadId, null).setInvitees(inviteeList).build();
presenter.removeParticipants(request, null);
}
Aggregations