|
Stream Chat Unreal SDK
|
#/components/schemas/MessageRequest More...
#include <MessageRequestDto.h>
Public Attributes | |
| TArray< FAttachmentDto > | Attachments |
| FString | Cid |
| FString | Html |
| Contains HTML markup of the message. | |
| FString | Id |
| Message ID is unique string identifier of the message. | |
| TArray< FString > | MentionedUsers |
| FString | Mml |
Should be empty if text is provided. | |
| FString | ParentId |
| bool | bShowInChannel = false |
| FDateTime | PinExpires = FDateTime{0} |
When the pin should lapse. Leave zeroed to pin indefinitely; ignored unless bPinned. | |
| bool | bPinned = false |
| FString | QuotedMessageId |
| The ID of the message this one quotes. The backend embeds the quoted message in responses. | |
| TMap< FName, int32 > | ReactionScores |
| A map describing the count of score of every reaction. | |
| bool | bSilent = false |
| FString | Text |
Text of the message. Should be empty if mml is provided. | |
| FAdditionalFields | AdditionalFields |
#/components/schemas/MessageRequest
| TArray<FAttachmentDto> FMessageRequestDto::Attachments |
Files, images and links to attach to the message. Upload the content first, then reference the returned URL here
| bool FMessageRequestDto::bPinned = false |
Whether to pin the message in the channel. pinned_at and pinned_by are not sent: the backend stamps both from this request.
| bool FMessageRequestDto::bShowInChannel = false |
Whether a thread reply should also appear in the main channel message list. Ignored by the backend unless ParentId is set.
| TArray<FString> FMessageRequestDto::MentionedUsers |
IDs of the users mentioned in the message. The backend resolves these to full user objects on the way back out.
| FString FMessageRequestDto::ParentId |
The ID of the parent message. Setting this makes the message a reply in that message's thread, and the backend turns it into a message of type reply.