Stream Chat Unreal SDK
Loading...
Searching...
No Matches
FMessageStore Struct Reference

A store for a list of messages. More...

#include <MessageStore.h>

Public Member Functions

void Append (const FMessageStore &)
 Locally upsert a list of messages to this store.
 
void Append (const TArray< FMessageDto >, UUserManager *)
 
bool AddMessage (const FMessage &)
 Locally upsert a message to this store. More...
 
bool AddMessage (const FMessageDto &, UUserManager *)
 
bool IsEmpty () const
 
const FMessageFirst ()
 
const FMessageLast ()
 
TSharedPtr< FMessageNext (const FMessage &) const
 Get message following the given message.
 
FMessages FilterRecent (const FTimespan &Since) const
 
const FMessages & GetMessages () const
 Get all the messages of this channel.
 

Detailed Description

A store for a list of messages.

Member Function Documentation

◆ AddMessage()

bool FMessageStore::AddMessage ( const FMessage NewMessage)

Locally upsert a message to this store.

Returns
Whether message was added (as opposed to updated)

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