5#include "AdditionalFields.h"
6#include "CoreMinimal.h"
8#include "Attachment.generated.h"
57 FString GetUrl()
const;
60 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Stream Chat|Attachment")
64 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stream Chat|Attachment")
68 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stream Chat|Attachment")
72 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stream Chat|Attachment")
76 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Attachment")
80 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stream Chat|Attachment")
84 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Attachment")
88 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Attachment")
92 UPROPERTY(BlueprintReadOnly, Category = "Stream Chat|Attachment", AdvancedDisplay)
96 UPROPERTY(BlueprintReadWrite, Category = "Stream Chat|Attachment", AdvancedDisplay)
97 FAdditionalFields ExtraData;
EAttachmentType
What kind of content an attachment holds.
Definition Attachment.h:18
@ Text
Text of the message.
@ Type
Type of the message.
@ File
Any other uploaded file, offered as a download.
@ Unknown
A type this version of the SDK does not know about. The raw value is kept in FAttachment::RawType.
@ Link
A preview the backend generated by scraping a URL in the message text.
@ Giphy
A Giphy result, produced by the /giphy command.
@ Image
A still image, rendered inline.
#/components/schemas/Attachment A file, image or link attached to a message.
Definition AttachmentDto.h:22
int32 FileSize
Definition AttachmentDto.h:61
FString AssetUrl
URL of the uploaded file. Set for non-image attachments.
Definition AttachmentDto.h:44
FString ThumbUrl
URL of a smaller preview of the image, when the backend generated one.
Definition AttachmentDto.h:52
FString Title
Display title, conventionally the original filename.
Definition AttachmentDto.h:32
FString MimeType
MIME type of the attached file, e.g. image/png
Definition AttachmentDto.h:56
FString ImageUrl
URL of the uploaded image. Set for image attachments.
Definition AttachmentDto.h:48
A file, image or link attached to a message.
Definition Attachment.h:42