Function set_chat_theme

Source
pub async fn set_chat_theme(
    chat_id: i64,
    theme_name: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the chat theme. Supported only in private and secret chats

ยงArguments

  • chat_id - Chat identifier
  • theme_name - Name of the new chat theme; pass an empty string to return the default theme
  • client_id - The client id to send the request to