UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseChatUpdate.h
Go to the documentation of this file.
1// Copyright(c) 2025 grrimgrriefer & DZnnah, see LICENSE for details.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
14{
15#pragma region public API
16public:
25 explicit ServerResponseChatUpdate(FGuid messageId,
26 FGuid senderId,
27 FStringView text,
28 FGuid sessionId) : ServerResponseBase(ServerResponseType::ChatUpdate),
29 MESSAGE_ID(messageId),
30 SENDER_ID(senderId),
31 TEXT_CONTENT(text),
32 SESSION_ID(sessionId)
33 {}
34#pragma endregion
35
36#pragma region data
37public:
39 const FGuid MESSAGE_ID;
41 const FGuid SENDER_ID;
43 const FString TEXT_CONTENT;
45 const FGuid SESSION_ID;
46#pragma endregion
47};
ServerResponseType
ServerResponseType Contains the possible response types that can be reported by the VoxtaApiReponseHa...
Definition ServerResponseType.h:16
ServerResponseBase(ServerResponseType responseType)
Definition ServerResponseBase.h:20
const FGuid SESSION_ID
The session ID this message belongs to.
Definition ServerResponseChatUpdate.h:45
const FString TEXT_CONTENT
The text content of the message.
Definition ServerResponseChatUpdate.h:43
const FGuid SENDER_ID
The ID of the sender.
Definition ServerResponseChatUpdate.h:41
ServerResponseChatUpdate(FGuid messageId, FGuid senderId, FStringView text, FGuid sessionId)
Construct a chat update response.
Definition ServerResponseChatUpdate.h:25
const FGuid MESSAGE_ID
The unique ID of the message.
Definition ServerResponseChatUpdate.h:39