Overview

Summary

ContactDonateImprint


Appendix E-29: CHAT (UI prompt)


ChatChatModuleWhatsApp

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEChat
(2) CreatedByUserAccountLONGChatUserAccountUserAccountModule
(3) IsChannelBOOLChat
(4) IsCommunityBOOLChat
(5) IsGroupBOOLChat
(6) TitleSTRINGChat


Module Interfaces (13)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /abusereport/chat/{id}findAllAbuseReportOfChat(id)ChatMessageModuleGETChat AbuseReport
(2) /chatmessage/chat/{id}findAllChatMessageOfChat(id)ChatMessageModuleGETChat ChatMessage
(3) /chat/{id}findChatById(id)ChatModuleGETChat
(4) /chat/{id}deleteChatById(id)ChatModuleDELETEChat
(5) /chatinsertChat(chat)ChatModulePOSTChat
(6) /chat/{id}updateChatById(chat)ChatModulePUTChat
(7) /aiinteraction/chat/{id}findAllAiInteractionOfChat(id)ChatModuleGETChat AiInteraction
(8) /chatparticipant/chat/{id}findAllChatParticipantOfChat(id)ChatModuleGETChat ChatParticipant
(9) /chat/createdbyuseraccount/{id}findAllChatOfCreatedByUserAccount(id)ChatModuleGETUserAccount Chat
(10) /chatfindAllChat()ChatModuleGETChat
(11) /broadcastchannel/chat/{id}findAllBroadcastChannelOfChat(id)ChatModuleGETChat BroadcastChannel
(12) /communitychat/chat/{id}findAllCommunityChatOfChat(id)CommunitySpaceModuleGETChat CommunityChat
(13) /voicecall/chat/{id}findAllVoiceCallOfChat(id)VoiceCallModuleGETChat VoiceCall





Example:

final Chat chat = (Chat) invokeModule(CHAT_MODULE + "/chat/" + id, Chat.class);
if (chat != null) {
    final UserAccount createdbyuseraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + chat.getCreatedByUserAccount().getId(), UserAccount.class);
    if (createdbyuseraccount1 != null) {
    }
}
return chat;


Overview

Summary

ContactDonateImprint