5#include "CoreMinimal.h"
7#include "MessageStore.h"
10#include "ChannelState.generated.h"
39 bool IsMessageRead(const
FMessage&) const;
45 int32 UnreadCount() const;
47 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
51 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
55 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
59 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Channel")
63 FRead* GetCurrentUserRead();
64 const
FRead* GetCurrentUserRead() const;
@ ParentId
The parent message ID (if the message is a reply)
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
#/components/schemas/Message Represents any chat message. Used in responses only
Definition MessageDto.h:25
Represents a Stream Chat message.
Definition Message.h:70
A store for a list of messages.
Definition MessageStore.h:26
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