Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineChatInterface.h |
Include |
#include "Interfaces/OnlineChatInterface.h" |
bool GetLastMessages
(
const FUniqueNetId & UserId,
const FChatRoomId & RoomId,
int32 NumMessages,
TArray< TSharedRef< FChatMessage > > & OutMessages
)
Get cached list of chat messages for a currently joined chat room
true if found
Parameter |
Description |
---|---|
UserId |
id of user to find |
RoomId |
id of room to find |
NumMessages |
max number of messages to fetch from history (-1 for all cached messages) |
OutMessages |
[out] list of messages from the chat room history |