5#include "Components/Image.h"
6#include "Components/TextBlock.h"
7#include "CoreMinimal.h"
8#include "StreamWidget.h"
9#include "User/UserRef.h"
11#include "ProfilePicWidget.generated.h"
17class STREAMCHATUI_API UProfilePicWidget final : public UStreamWidget
22 UFUNCTION(BlueprintCallable, Category = "Stream Chat")
24 UFUNCTION(BlueprintCallable, Category = "Stream Chat")
25 void SetupWithUrl(const FString& InImageUrl);
28 UPROPERTY(meta = (BindWidget))
31 UPROPERTY(meta = (BindWidget))
32 UTextBlock* InitialsTextBlock;
34 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Setup)
37 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Setup)
41 virtual
void OnSetup() override;
43 FString GetUrl() const;
44 void FetchRemoteImage();
A reference to a unique User.
Definition: UserRef.h:23