Function tdlib_rs::functions::get_theme_parameters_json_string
source · pub async fn get_theme_parameters_json_string(
theme: ThemeParameters,
client_id: i32
) -> Result<Text, Error>
Expand description
Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously
§Arguments
theme
- Theme parameters to convert to JSONclient_id
- The client id to send the request to