5#include "AdditionalFields.h"
6#include "CoreMinimal.h"
7#include "MessageTypeDto.h"
8#include "Response/Message/AttachmentDto.h"
9#include "Response/Moderation/MessageModerationDto.h"
10#include "Response/Reaction/ReactionDto.h"
11#include "UserObjectDto.h"
13#include "MessageDto.generated.h"
29 TOptional<FDateTime> GetDeletedAt()
const;
46 FDateTime CreatedAt = FDateTime{0};
57 TMap<FString, FString> I18n;
101 FDateTime PinExpires = FDateTime{0};
105 bool bPinned = false;
109 FDateTime PinnedAt = FDateTime{0};
121 FString QuotedMessageId;
125 TMap<FName, int32> ReactionCounts;
129 TMap<FName, int32> ReactionScores;
137 bool bShadowed = false;
141 bool bShowInChannel = false;
145 bool bSilent = false;
161 FDateTime UpdatedAt = FDateTime{0};
170 FAdditionalFields AdditionalFields;
EMessageTypeDto
DTO for type of message.
Definition MessageTypeDto.h:16
@ Attachments
Whether or not the message contains an attachment.
@ Text
Text of the message.
@ Type
Type of the message.
@ ParentId
The parent message ID (if the message is a reply)
@ ReplyCount
The number of replies the message has.
#/components/schemas/Attachment A file, image or link attached to a message.
Definition AttachmentDto.h:22
#/components/schemas/Message Represents any chat message. Used in responses only
Definition MessageDto.h:25
#/components/schemas/MessageModerationResult The moderation verdict the API reached for a message.
Definition MessageModerationDto.h:21
#/components/schemas/Reaction Represents user reaction to a message
Definition ReactionDto.h:17
#/components/schemas/UserObject Used in both requests and responses
Definition UserObjectDto.h:17