updateAvatar

abstract suspend fun updateAvatar(userId: String, newAvatarUri: Uri, fileName: String)

Update the avatar for this user.

Parameters

userId

the userId to update the avatar of

newAvatarUri

the new avatar uri of the user

fileName

the fileName of selected image