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