Stream Chat Unreal SDK
Loading...
Searching...
No Matches
MutedChannel.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Response/Moderation/ChannelMuteDto.h"
7#include "User/UserRef.h"
8
9#include "MutedChannel.generated.h"
10
11class UUserManager;
12
13USTRUCT(BlueprintType)
14struct STREAMCHAT_API FMutedChannel
15{
16 GENERATED_BODY()
17
18public:
19 FMutedChannel();
20 explicit FMutedChannel(const FChannelMuteDto&, UUserManager*);
21
23 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Muted Channel")
24 FDateTime CreatedAt = FDateTime{0};
25
27 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Muted Channel")
28 FDateTime UpdatedAt = FDateTime{0};
29
31 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Muted Channel")
32 FDateTime Expires = FDateTime{0};
33
36 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Muted Channel")
37 FString Cid;
38
40 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Muted Channel")
41 FUserRef User;
42};
#/components/schemas/ChannelMute
Definition: ChannelMuteDto.h:17
A reference to a unique User.
Definition: UserRef.h:23