pub async fn get_option(
name: String,
client_id: i32,
) -> Result<OptionValue, Error>Expand description
Returns the value of an option by its name. (Check the list of available options on https:core.telegram.org/tdlib/options.) Can be called before authorization. Can be called synchronously for options “version” and “commit_hash”
§Arguments
name- The name of the optionclient_id- The client id to send the request to