Stream Chat Unreal SDK
Loading...
Searching...
No Matches
TypingStopEvent.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Event/Abstract/ChannelEvent.h"
7#include "UserObjectDto.h"
8
9#include "TypingStopEvent.generated.h"
10
16USTRUCT()
18{
19 GENERATED_BODY()
20 explicit FTypingStopEvent() = default;
21
23 const FDateTime& CreatedAt,
24 const FString& ChannelId,
25 const FString& ChannelType,
26 const FString& Cid,
27 const FString& ParentId,
28 const FUserObjectDto& User)
29 : FChannelEvent(StaticType(), CreatedAt, ChannelId, ChannelType, Cid), ParentId(ParentId), User(User)
30 {
31 }
32
33 static FName StaticType()
34 {
35 static const FName Type{TEXT("typing.stop")};
36 return Type;
37 }
38
39 UPROPERTY()
40 FString ParentId;
41
42 UPROPERTY()
43 FUserObjectDto User;
44};
@ Type
Type of the message.
@ ParentId
The parent message ID (if the message is a reply)
Represents an event that happened in a Stream channel.
Definition: ChannelEvent.h:17
A user stoped typing.
Definition: TypingStopEvent.h:18
#/components/schemas/UserObject Used in both requests and responses
Definition: UserObjectDto.h:17