use of com.fanap.podchat.chat.assistant.request_model.DeActiveAssistantRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method deactiveAssistant.
private void deactiveAssistant() {
// invite
// Invitee invite = new Invitee("52987", InviteType.Constants.TO_BE_USER_CONTACT_ID);
Invitee invite = new Invitee("63256", InviteType.Constants.TO_BE_USER_CONTACT_ID);
List<AssistantVo> assistantVos = new ArrayList<>();
AssistantVo assistantVo = new AssistantVo();
assistantVo.setInvitees(invite);
assistantVos.add(assistantVo);
DeActiveAssistantRequest request = new DeActiveAssistantRequest.Builder(assistantVos).build();
presenter.deActiveAssistant(request);
}
use of com.fanap.podchat.chat.assistant.request_model.DeActiveAssistantRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatTestIntegration method deActiveAssistant.
private void deActiveAssistant() {
// 52987 khodam
// 103187 nemati
// invite
Invitee invite = new Invitee("63253", InviteType.Constants.TO_BE_USER_CONTACT_ID);
List<AssistantVo> assistantVos = new ArrayList<>();
AssistantVo assistantVo = new AssistantVo();
assistantVo.setInvitees(invite);
assistantVos.add(assistantVo);
DeActiveAssistantRequest request = new DeActiveAssistantRequest.Builder(assistantVos).build();
presenter.deActiveAssistant(request);
pauseProcess();
}
use of com.fanap.podchat.chat.assistant.request_model.DeActiveAssistantRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatTestSandbox method deActiveAssistant.
private void deActiveAssistant() {
// 52987 khodam
// 103187 nemati
// invite
Invitee invite = new Invitee("52987", InviteType.Constants.TO_BE_USER_CONTACT_ID);
List<AssistantVo> assistantVos = new ArrayList<>();
AssistantVo assistantVo = new AssistantVo();
assistantVo.setInvitees(invite);
assistantVos.add(assistantVo);
DeActiveAssistantRequest request = new DeActiveAssistantRequest.Builder(assistantVos).build();
presenter.deActiveAssistant(request);
pauseProcess();
}
Aggregations