5#include "CoreMinimal.h"
8#include "User/UserRef.h"
10#include "ChatThread.generated.h"
36 int32 UnreadCount() const;
39 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
43 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
47 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
51 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
55 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
59 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
63 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
67 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
71 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
75 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
79 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
83 UPROPERTY(BlueprintReadOnly, Category =
"Stream Chat|Thread")
87 UPROPERTY(BlueprintReadOnly, Category =
"Stream Chat|Thread")
91 UPROPERTY(BlueprintReadOnly, Category =
"Stream Chat|Thread")
94 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Thread")
95 FAdditionalFields ExtraData;
@ ReplyCount
The number of replies the message has.
@ ActiveParticipantCount
The number of users still participating in the thread.
@ ParticipantCount
The number of users who have ever replied in the thread.
@ ParentMessageId
The ID of the message which started the thread.
@ ChannelCid
The channel CID for the ban. When this parameter is not provided, both global and channel bans will b...
Represents a Stream Chat thread: a message and the replies hanging off it.
Definition ChatThread.h:26
Represents a Stream Chat message.
Definition Message.h:70
Contains information about the read state (i.e number of unread messages) of a member of a chat chann...
Definition Read.h:19
#/components/schemas/ThreadStateResponse An enriched thread: the parent message plus its latest repli...
Definition ThreadStateResponseDto.h:23
FDateTime UpdatedAt
Date/time of the last update.
Definition ThreadStateResponseDto.h:84
TArray< FThreadParticipantDto > ThreadParticipants
The users participating in this thread.
Definition ThreadStateResponseDto.h:64
TArray< FMessageDto > LatestReplies
The most recent replies in this thread, oldest first.
Definition ThreadStateResponseDto.h:68
FUserObjectDto CreatedBy
The user who started the thread.
Definition ThreadStateResponseDto.h:48
FDateTime CreatedAt
Date/time of creation.
Definition ThreadStateResponseDto.h:80
FString Title
Title of the thread.
Definition ThreadStateResponseDto.h:92
FMessageDto ParentMessage
The message which started the thread.
Definition ThreadStateResponseDto.h:40
TArray< FReadDto > Read
The read state of each participant of this thread.
Definition ThreadStateResponseDto.h:72
FDateTime LastMessageAt
Date/time of the last reply.
Definition ThreadStateResponseDto.h:76
A reference to a unique User.
Definition UserRef.h:23