use of com.fanap.podchat.chat.tag.request_model.AddTagParticipantRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method addTagParticipant.
public void addTagParticipant() {
List<Long> threadIds = new ArrayList<>();
threadIds.add(8688l);
threadIds.add(8730l);
threadIds.add(8729l);
AddTagParticipantRequest request = new AddTagParticipantRequest.Builder(tagId, threadIds).build();
presenter.addTagParticipant(request);
}
use of com.fanap.podchat.chat.tag.request_model.AddTagParticipantRequest in project pod-chat-android-sdk by FanapSoft.
the class TagCacheTest method addTagParticipant.
public void addTagParticipant(long tagId) {
chatListeners = new ChatListener() {
@Override
public void OnTagParticipantAdded(String content, ChatResponse<TagParticipantResult> response) {
chat.removeListener(chatListeners);
resumeProcess();
}
};
chat.setListener(chatListeners);
List<Long> threadIds = new ArrayList<>();
threadIds.add(8688l);
threadIds.add(8730l);
threadIds.add(8729l);
AddTagParticipantRequest request = new AddTagParticipantRequest.Builder(tagId, threadIds).build();
chat.addTagParticipant(request);
pauseProcess();
System.out.println("Tag Participant Added: ");
}
Aggregations