Stream Chat Unreal SDK
Loading...
Searching...
No Matches
ChannelConfig.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Command.h"
6#include "CoreMinimal.h"
7
8#include "ChannelConfig.generated.h"
9
11
17USTRUCT(BlueprintType)
19{
20 GENERATED_BODY()
21
22
24
27
29 UPROPERTY()
30 FString Automod;
31
33 UPROPERTY()
34 TArray<FCommand> Commands;
35
37 UPROPERTY()
38 bool bConnectEvents = false;
39
41 UPROPERTY()
42 FDateTime CreatedAt = FDateTime{0};
43
45 UPROPERTY()
46 FDateTime UpdatedAt = FDateTime{0};
47
49 UPROPERTY()
51
53 UPROPERTY()
55
57 UPROPERTY()
58 bool bMutes = false;
59
61 UPROPERTY()
62 bool bReactions = false;
63
65 UPROPERTY()
66 bool bReadEvents = false;
67
69 UPROPERTY()
70 bool bReplies = false;
71
73 UPROPERTY()
74 bool bSearch = false;
75
77 bool bTypingEvents = false;
78
80 UPROPERTY()
81 bool bUploads = false;
82
84 UPROPERTY()
85 bool bUrlEnrichment = false;
86};
The configuration, permissions and features of a channel, as defined by the "channel type".
Definition: ChannelConfig.h:19
#/components/schemas/ChannelConfigWithInfo
Definition: ChannelConfigWithInfoDto.h:16
bool bReplies
True if reply message are active for this channel.
Definition: ChannelConfigWithInfoDto.h:53
bool bSearch
True if it's possible to perform a search in this channel.
Definition: ChannelConfigWithInfoDto.h:45
bool bMutes
True if users can be muted.
Definition: ChannelConfigWithInfoDto.h:57
FDateTime UpdatedAt
Date of last channel update.
Definition: ChannelConfigWithInfoDto.h:25
bool bUploads
True if it's possible to upload files to this channel.
Definition: ChannelConfigWithInfoDto.h:61
FString Automod
Enables automatic message moderation.
Definition: ChannelConfigWithInfoDto.h:87
FString MessageRetention
Number of days to keep messages. 'infinite' disables retention.
Definition: ChannelConfigWithInfoDto.h:77
FDateTime CreatedAt
Date of channel creation.
Definition: ChannelConfigWithInfoDto.h:21
bool bReadEvents
True if readEvents are active for this channel.
Definition: ChannelConfigWithInfoDto.h:37
int32 MaxMessageLength
Definition: ChannelConfigWithInfoDto.h:82
bool bTypingEvents
True if typing events should be sent for this channel.
Definition: ChannelConfigWithInfoDto.h:33
bool bConnectEvents
True if the channel should send connect events.
Definition: ChannelConfigWithInfoDto.h:41
bool bReactions
True if reaction are active for this channel.
Definition: ChannelConfigWithInfoDto.h:49
TArray< FCommandDto > Commands
List of available commands.
Definition: ChannelConfigWithInfoDto.h:107