UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseChatStarted Struct Reference

ServerResponseChatStarted Read-only data struct containing the relevant data of the 'chatStarted' response from the VoxtaServer. More...

#include <ServerResponseChatStarted.h>

Inheritance diagram for ServerResponseChatStarted:
ServerResponseBase

Public Member Functions

 ServerResponseChatStarted (FGuid userId, const TArray< FGuid > &characterIds, const TMap< VoxtaServiceType, FVoxtaServiceEntryData > &services, FGuid chatId, FGuid sessionId, FStringView contextText)
 Construct a chat started response.
 
- Public Member Functions inherited from ServerResponseBase
virtual ~ServerResponseBase ()=default
 
 ServerResponseBase (ServerResponseType responseType)
 

Public Attributes

const TArray< FGuid > CHARACTER_IDS
 The list of character IDs in the chat.
 
const TMap< VoxtaServiceType, FVoxtaServiceEntryDataSERVICES
 The map of enabled services.
 
const FGuid USER_ID
 The user ID.
 
const FGuid CHAT_ID
 The chat ID.
 
const FGuid SESSION_ID
 The session ID.
 
const FString CONTEXT_TEXT
 The context text for the chat.
 
- Public Attributes inherited from ServerResponseBase
const ServerResponseType RESPONSE_TYPE
 The type of this server response.
 

Detailed Description

ServerResponseChatStarted Read-only data struct containing the relevant data of the 'chatStarted' response from the VoxtaServer.

Contains user ID, character IDs, services, chat/session IDs, and context text.

Constructor & Destructor Documentation

◆ ServerResponseChatStarted()

ServerResponseChatStarted::ServerResponseChatStarted ( FGuid userId,
const TArray< FGuid > & characterIds,
const TMap< VoxtaServiceType, FVoxtaServiceEntryData > & services,
FGuid chatId,
FGuid sessionId,
FStringView contextText )
inlineexplicit

Construct a chat started response.

Parameters
userIdThe user ID.
characterIdsThe list of character IDs in the chat.
servicesThe map of enabled services.
chatIdThe chat ID.
sessionIdThe session ID.
contextTextThe context text for the chat.

Member Data Documentation

◆ CHARACTER_IDS

const TArray<FGuid> ServerResponseChatStarted::CHARACTER_IDS

The list of character IDs in the chat.

◆ CHAT_ID

const FGuid ServerResponseChatStarted::CHAT_ID

The chat ID.

◆ CONTEXT_TEXT

const FString ServerResponseChatStarted::CONTEXT_TEXT

The context text for the chat.

◆ SERVICES

const TMap<VoxtaServiceType, FVoxtaServiceEntryData> ServerResponseChatStarted::SERVICES

The map of enabled services.

◆ SESSION_ID

const FGuid ServerResponseChatStarted::SESSION_ID

The session ID.

◆ USER_ID

const FGuid ServerResponseChatStarted::USER_ID

The user ID.


The documentation for this struct was generated from the following file: