use of com.fanap.podchat.mainmodel.Invitee in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method createPublicThread.
private void createPublicThread() {
Invitee[] invite = new Invitee[] { new Invitee("5739", InviteType.Constants.TO_BE_USER_CONTACT_ID), new Invitee("5740", InviteType.Constants.TO_BE_USER_CONTACT_ID) };
String metac = getMetaData();
RequestCreatePublicThread request = new RequestCreatePublicThread.Builder(ThreadType.Constants.PUBLIC_GROUP, Arrays.asList(invite), THREAD_UNIQUE_NAME).withDescription("desc at " + new Date()).title("My Public Group 22").withImage("http://google.com").withMetadata(metac).build();
presenter.createPublicThread(request);
}
use of com.fanap.podchat.mainmodel.Invitee in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method getMutualGroup.
private void getMutualGroup() {
Invitee invite = new Invitee("63256", InviteType.Constants.TO_BE_USER_CONTACT_ID);
GetMutualGroupRequest request = new GetMutualGroupRequest.Builder(invite).build();
presenter.getMutualGroups(request);
}
Aggregations