updatePhoto

abstract suspend fun updatePhoto(photo: File): RainbowResult<Unit>

Updates the photo of the connected user by providing a File object.

Return

RainbowResult callback invoked upon completion of the operation.

Parameters

photo

The new file photo.