Stream Chat Unreal SDK
Loading...
Searching...
No Matches
UserBlock.h
1// Copyright 2026 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Response/Moderation/GetBlockedUsersResponseDto.h"
7#include "User/UserRef.h"
8
9#include "UserBlock.generated.h"
10
11class UUserManager;
12
21USTRUCT(BlueprintType)
22struct STREAMCHAT_API FUserBlock
23{
24 GENERATED_BODY()
25
26 FUserBlock() = default;
27 explicit FUserBlock(const FBlockedUserDto&, UUserManager*);
28
30 UPROPERTY(BlueprintReadOnly, Category = "Stream|Moderation")
31 FUserRef BlockedUser;
32
34 UPROPERTY(BlueprintReadOnly, Category = "Stream|Moderation")
35 FUserRef BlockedBy;
36
38 UPROPERTY(BlueprintReadOnly, Category = "Stream|Moderation")
39 FDateTime CreatedAt = FDateTime{0};
40};
#/components/schemas/BlockedUserResponse
Definition GetBlockedUsersResponseDto.h:17
One user blocking another.
Definition UserBlock.h:23
A reference to a unique User.
Definition UserRef.h:23