use of com.fanap.podchat.requestobject.RequestThreadInfo in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method updateThreadInfo.
private void updateThreadInfo() {
// RequestUploadImage requestUploadImage =
// new RequestUploadImage.Builder(ChatActivity.this, getUri())
// .sethC(140)
// .setwC(140)
// .setUserGroupHashCode(TEST_THREAD_HASH)
// .build();
RequestThreadInfo request = new RequestThreadInfo.Builder(TEST_THREAD_ID).name(// required. if not set, thread name will set to null
"Chat sample thread").image(// required. if not set, thread image will set to null
"https://podspace.pod.ir/nzh/drive/downloadImage?hash=ELJIHZN9NP37ZIDA").description(// required. if not set, thread name will set to null
"this is test description updated on " + new Date().toString()).build();
presenter.updateThreadInfo(request);
}
Aggregations