Stream Chat Unreal SDK
Loading...
Searching...
No Matches
ChatEvent.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7#include "ChatEvent.generated.h"
8
14USTRUCT()
16{
17 GENERATED_BODY()
18
19 FChatEvent() = default;
20 FChatEvent(const FName& Type, const FDateTime& CreatedAt) : Type(Type), CreatedAt(CreatedAt)
21 {
22 }
23
25 UPROPERTY()
26 FName Type;
27
28 UPROPERTY()
29 FDateTime CreatedAt = FDateTime{0};
30};
@ Type
Type of the message.
Represents an event that happened in Stream Chat.
Definition: ChatEvent.h:16