|
Stream Chat Unreal SDK
|
Represents a Stream Chat message. More...
#include <Message.h>
Public Member Functions | |
| FMessage () | |
| Default construct an invalid message. | |
| FMessage (const FMessageDto &, UUserManager *) | |
| Create a message from a DTO from the API. | |
| FMessage (const FSearchResultDto &, UUserManager *) | |
| FMessage (const FString &Text) | |
| Create a new message from a message string. | |
| FMessageRequestDto | ToRequestDto (const FString &Cid) const |
| Convert a message into a create/update request for sending to the API. | |
Public Attributes | |
| FString | Id |
| The message ID. This is either created by the Stream API or set client side when the message is created. | |
| FString | Text |
| The text of this message. | |
| EMessageSendState | State = EMessageSendState::None |
| Sending state of the message. | |
| FUserRef | User |
| User who sent the message. | |
| EMessageType | Type = EMessageType::Regular |
| The message type. | |
| TArray< FUserRef > | MentionedUsers |
| The list of user mentioned in the message. | |
| FDateTime | CreatedAt = FDateTime{0} |
| Date of first message creation. | |
| FDateTime | UpdatedAt = FDateTime{0} |
| Reserved field indicating when the message was updated last time. | |
| TOptional< FDateTime > | DeletedAt |
| Reserved field indicating when the message was deleted. | |
| FReactions | Reactions |
| All reactions of this message, grouped by their type. | |
| FString | ParentId |
| Empty if not a reply in a thread. | |
| bool | bIsSilent = false |
| bool | bIsShadowed = false |
| Whether the message was shadowed or not. | |
| FString | Html |
| Contains HTML markup of the message. | |
| FAdditionalFields | ExtraData |
Represents a Stream Chat message.