getProfileImageByUserId

Returns the ProfileImage of a User. Must validate that the ProfileImage exists.

Return

The Result of the operation.

Parameters

userId
The id of the User.
abstract suspend fun getProfileImageByUserId(userId: String): Result<ProfileImage>