change Language

open fun changeLanguage(newLanguage: String): JSONObject

Function to execute the request to change the language of the user

Return

the result of the request as JSONObject

Parameters

newLanguage

: the new language of the user