Interface DeleteChatBackground

Deletes background in a specific chat. Request type for Tdjson#deleteChatBackground.

interface DeleteChatBackground {
    @type: "deleteChatBackground";
    chat_id: number;
    restore_previous?: boolean;
}

Properties

@type: "deleteChatBackground"
chat_id: number

Chat identifier.

restore_previous?: boolean

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 user.