Stream Chat Unreal SDK
Loading...
Searching...
No Matches
ThreadStateResponseDto.h
1// Copyright 2026 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "AdditionalFields.h"
6#include "CoreMinimal.h"
7#include "Response/Channel/ChannelResponseDto.h"
8#include "Response/Channel/ReadDto.h"
9#include "Response/Message/MessageDto.h"
10#include "Response/Thread/ThreadParticipantDto.h"
11#include "UserObjectDto.h"
12
13#include "ThreadStateResponseDto.generated.h"
14
21USTRUCT()
23{
24 GENERATED_BODY()
25
26
27 UPROPERTY()
28 FString ChannelCid;
29
31 UPROPERTY()
33
35 UPROPERTY()
37
39 UPROPERTY()
40 FMessageDto ParentMessage;
41
43 UPROPERTY()
44 FString CreatedByUserId;
45
47 UPROPERTY()
48 FUserObjectDto CreatedBy;
49
51 UPROPERTY()
52 int32 ReplyCount = 0;
53
55 UPROPERTY()
57
59 UPROPERTY()
61
63 UPROPERTY()
64 TArray<FThreadParticipantDto> ThreadParticipants;
65
67 UPROPERTY()
68 TArray<FMessageDto> LatestReplies;
69
71 UPROPERTY()
72 TArray<FReadDto> Read;
73
75 UPROPERTY()
76 FDateTime LastMessageAt = FDateTime{0};
77
79 UPROPERTY()
80 FDateTime CreatedAt = FDateTime{0};
81
83 UPROPERTY()
84 FDateTime UpdatedAt = FDateTime{0};
85
87 UPROPERTY()
88 FDateTime DeletedAt = FDateTime{0};
89
91 UPROPERTY()
92 FString Title;
93
94 UPROPERTY()
95 FAdditionalFields AdditionalFields;
96};
@ 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...
#/components/schemas/ChannelResponse Represents channel in chat
Definition ChannelResponseDto.h:20
#/components/schemas/Message Represents any chat message. Used in responses only
Definition MessageDto.h:25
#/components/schemas/Read
Definition ReadDto.h:16
#/components/schemas/ThreadParticipant Represents a user that is participating in a thread....
Definition ThreadParticipantDto.h:19
#/components/schemas/ThreadStateResponse An enriched thread: the parent message plus its latest repli...
Definition ThreadStateResponseDto.h:23
#/components/schemas/UserObject Used in both requests and responses
Definition UserObjectDto.h:17