updateAvatar

suspend fun updateAvatar(avatarId: String, oauthToken: String, avatarRating: Avatar.Rating? = null, altText: String? = null): Avatar

Updates the avatar rating and/or alt text.

Return

The updated avatar

Parameters

avatarId

The ID of the avatar to update

oauthToken

The OAuth token to use for authentication

avatarRating

The new rating for the avatar

altText

The new alt text for the avatar