updateUser

suspend fun updateUser(description: String? = null): User

Twitch API: Update User

Updates the specified user's information. The user ID in the OAuth token identifies the user whose information you want to update.

To include the user's verified email address in the response, the user access token must also include the user:read:email scope.

Return

the updated user.

Parameters

description

the string to update the channel's description to. The description is limited to a maximum of 300 characters. To remove the description, specify this parameter but don't set its value (e.g., pass an empty string).