Interface SetDefaultBackground

Sets default background for chats; adds the background to the list of installed backgrounds. Request type for Tdjson#setDefaultBackground.

interface SetDefaultBackground {
    @type: "setDefaultBackground";
    background: InputBackground;
    for_dark_theme?: boolean;
    type: BackgroundType;
}

Properties

@type: "setDefaultBackground"
background: InputBackground

The input background to use; pass null to create a new filled background.

for_dark_theme?: boolean

Pass true if the background is set for a dark theme.

Background type; pass null to use the default type of the remote background; backgroundTypeChatTheme isn't supported.