5#include "CoreMinimal.h"
7#include "MessageStore.h"
10#include "ChannelState.generated.h"
36 bool IsMessageRead(const
FMessage&) const;
42 int32 UnreadCount() const;
44 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
48 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
52 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
56 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
60 FRead* GetCurrentUserRead();
61 const
FRead* GetCurrentUserRead() const;
Encapsulates the local state of a channel.
Definition: ChannelState.h:20
#/components/schemas/ChannelStateResponseFields
Definition: ChannelStateResponseFieldsDto.h:19
TArray< FUserObjectDto > Watchers
A list of users watching the channel.
Definition: ChannelStateResponseFieldsDto.h:59
TArray< FReadDto > Read
List of read states.
Definition: ChannelStateResponseFieldsDto.h:51
TArray< FMessageDto > Messages
List of channel members.
Definition: ChannelStateResponseFieldsDto.h:43
int32 WatcherCount
The count of users watching the channel.
Definition: ChannelStateResponseFieldsDto.h:55
Represents a Stream Chat message.
Definition: Message.h:66
A store for a list of messages.
Definition: MessageStore.h:19
Contains information about the read state (i.e number of unread messages) of a member of a chat chann...
Definition: Read.h:19
A reference to a unique User.
Definition: UserRef.h:23