Stream Chat Unreal SDK
Loading...
Searching...
No Matches
FMessageDto Struct Reference

#/components/schemas/Message Represents any chat message. Used in responses only More...

#include <MessageDto.h>

Inheritance diagram for FMessageDto:
FSearchResultMessageDto

Public Member Functions

TOptional< FDateTime > GetDeletedAt () const
 Date/time of deletion.
 

Public Attributes

FString Cid
 Channel unique identifier. More...
 
FString Command
 Contains provided slash command.
 
FDateTime CreatedAt = FDateTime{0}
 Date/time of creation.
 
FString Html
 Contains HTML markup of the message.
 
FString I18n
 
FString Id
 
TArray< FReactionDtoLatestReactions
 The latest reactions to the message created by any user.
 
TArray< FUserObjectDtoMentionedUsers
 The list of user mentioned in the message.
 
FString Mml
 
TArray< FReactionDtoOwnReactions
 The reactions added to the message by the current user.
 
FString ParentId
 The ID of the parent message, if the message is a thread reply.
 
FDateTime PinExpires = FDateTime{0}
 
bool bPinned = false
 If true the message is pinned.
 
FDateTime PinnedAt = FDateTime{0}
 Reserved field indicating when the message was pinned.
 
FUserObjectDto PinnedBy
 Reserved field indicating who pinned the message.
 
FString QuotedMessageId
 A quoted reply message. More...
 
TMap< FName, int32 > ReactionCounts
 A map describing the count of number of every reaction.
 
TMap< FName, int32 > ReactionScores
 A map describing the count of score of every reaction.
 
uint32 ReplyCount = 0
 Reserved field indicating the number of replies for this message.
 
bool bShadowed = false
 If true the message is shadowed.
 
bool bShowInChannel = false
 Whether thread reply should be shown in the channel as well.
 
bool bSilent = false
 If true the message is silent.
 
FString Text
 The text of this message.
 
TArray< FUserObjectDtoThreadParticipants
 Reserved field indicating the thread participants for this message.
 
EMessageTypeDto Type = EMessageTypeDto::Regular
 The message type.
 
FDateTime UpdatedAt = FDateTime{0}
 Reserved field indicating when the message was updated last time.
 
FUserObjectDto User
 User who sent the message.
 
FAdditionalFields AdditionalFields
 

Detailed Description

#/components/schemas/Message Represents any chat message. Used in responses only

Member Data Documentation

◆ Cid

FString FMessageDto::Cid

Channel unique identifier.

The list of attachments, either provided by the user or generated from a command or as a result of URL scraping.

◆ Id

FString FMessageDto::Id

The message ID. This is either created by Stream or set client side when the message is added.

◆ Mml

FString FMessageDto::Mml

Messaging Markup Language Should be empty if text is provided

◆ PinExpires

FDateTime FMessageDto::PinExpires = FDateTime{0}

Reserved field indicating when the message will expire

if null message has no expiry

◆ QuotedMessageId

FString FMessageDto::QuotedMessageId

A quoted reply message.

The ID of the quoted message, if the message is a quoted reply.


The documentation for this struct was generated from the following files: