Function tdlib::functions::set_background
source · pub async fn set_background(
background: Option<InputBackground>,
type: Option<BackgroundType>,
for_dark_theme: bool,
client_id: i32
) -> Result<Background, Error>
Expand description
Changes the background selected by the user; adds background to the list of installed backgrounds
Arguments
background
- The input background to use; pass null to create a new filled backgrounds or to remove the current backgroundr#type
- Background type; pass null to use the default type of the remote background or to remove the current backgroundfor_dark_theme
- Pass true if the background is changed for a dark themeclient_id
- The client id to send the request to