pub async fn delete_chat_background(
chat_id: i64,
restore_previous: bool,
client_id: i32,
) -> Result<(), Error>
Expand description
Deletes background in a specific chat
ยงArguments
chat_id
- Chat identifierrestore_previous
- Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other userclient_id
- The client id to send the request to