How to declare DYNAMIC MULTICAST delegate with TMap?

I’m trying t his solution, but unfortunately it’s not working. I am getting this error: Any ideas?
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FCSOnFindSessionsCompleteOther, const FSOnlineResult& SessionResults);
Error (active) E0077 this declaration has no storage class or type specifier
Unrecognized type ‘FSOnlineResult’ - type must be a UCLASS, USTRUCT or UENUM
USTRUCT(BlueprintType)
struct FSOnlineResult
{
GENERATED_USTRUCT_BODY()
UPROPERTY(BlueprintReadWrite)
TMap <int, FBlueprintSessionResult> SessionResults;
}