use of com.fanap.podchat.requestobject.RequestAddParticipants in project pod-chat-android-sdk by FanapSoft.
the class CallPresenter method inviteCallParticipant.
private void inviteCallParticipant(ContactsWrapper contact) {
String name = contact.getLinkedUser() != null ? contact.getLinkedUser().getName() : "" + contact.getFirstName() + " " + contact.getLinkedUser();
view.showMessage("" + name + " به تماس دعوت شد");
RequestAddParticipants request = RequestAddParticipants.newBuilder().threadId(callVO.getThreadId()).withContactId(contact.getId()).build();
callUniqueIds.add(chat.addGroupCallParticipant(request));
}
use of com.fanap.podchat.requestobject.RequestAddParticipants in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method addParticipants.
private void addParticipants() {
// add with coreUserIds
RequestAddParticipants request = RequestAddParticipants.newBuilder().threadId((long) TEST_THREAD_ID).withUsername("TEST2BOT").build();
presenter.addParticipants(request, null);
}
Aggregations