Search in sources :

Example 1 with ContactSyncedResult

use of com.fanap.podchat.chat.contact.result_model.ContactSyncedResult in project pod-chat-android-sdk by FanapSoft.

the class ContactManager method prepareContactSyncedResult.

public static ChatResponse<ContactSyncedResult> prepareContactSyncedResult(ChatMessage chatMessage) {
    ChatResponse<ContactSyncedResult> response = new ChatResponse<>();
    ContactSyncedResult result = new ContactSyncedResult(chatMessage.getSubjectId());
    response.setResult(result);
    return response;
}
Also used : ContactSyncedResult(com.fanap.podchat.chat.contact.result_model.ContactSyncedResult) ChatResponse(com.fanap.podchat.model.ChatResponse)

Aggregations

ContactSyncedResult (com.fanap.podchat.chat.contact.result_model.ContactSyncedResult)1 ChatResponse (com.fanap.podchat.model.ChatResponse)1