Stream Chat Unreal SDK
Loading...
Searching...
No Matches
NotificationMessageNewEvent.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Event/Abstract/MessageEvent.h"
7
8#include "NotificationMessageNewEvent.generated.h"
9
15USTRUCT()
17{
18 GENERATED_BODY()
19
20 static FName StaticType()
21 {
22 static const FName Type{TEXT("notification.message_new")};
23 return Type;
24 }
25
26 // Not in spec, but mentioned in docs
27 UPROPERTY()
28 int32 TotalUnreadCount = -1;
29
30 // Not in spec, but mentioned in docs
31 UPROPERTY()
32 int32 UnreadChannels = -1;
33};
@ Type
Type of the message.
A WebSocket event related to a message.
Definition: MessageEvent.h:17
Notification when a new message was created.
Definition: NotificationMessageNewEvent.h:17