Function get_background_url

Source
pub async fn get_background_url(
    name: String,
    type: BackgroundType,
    client_id: i32,
) -> Result<HttpUrl, Error>
Expand description

Constructs a persistent HTTP URL for a background

§Arguments

  • name - Background name
  • r#type - Background type; backgroundTypeChatTheme isn’t supported
  • client_id - The client id to send the request to