use of com.fanap.podchat.chat.tag.request_model.EditTagRequest in project pod-chat-android-sdk by FanapSoft.
the class TagCacheTest method editTag.
public void editTag(long tagId) {
chatListeners = new ChatListener() {
@Override
public void onTagEdited(String content, ChatResponse<TagResult> response) {
chat.removeListener(chatListeners);
resumeProcess();
}
};
chat.setListener(chatListeners);
EditTagRequest request = new EditTagRequest.Builder(tagId, "EditedTag_" + System.currentTimeMillis()).build();
chat.editTag(request);
pauseProcess();
System.out.println("Tag Edited: ");
}
use of com.fanap.podchat.chat.tag.request_model.EditTagRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method editTag.
public void editTag() {
EditTagRequest request = new EditTagRequest.Builder(tagId, "PrivateThreads" + System.currentTimeMillis()).build();
presenter.editTag(request);
}
Aggregations