Function modify_current_user
Source pub async fn modify_current_user(
client: &Client,
token: &str,
settings: Value,
) -> Result<Value, Box<dyn Error>>
Expand description
Modifies the current user’s information.
§Arguments
client
- The HTTP client used to send the request.
token
- The bot token for authentication.
settings
- The JSON value of the settings to update.
§Returns
A result indicating success or failure.