set_default_background


Description:

public async Background set_default_background (InputBackground background, BackgroundType type_, bool for_dark_theme) throws TDLibError

Sets default background for chats; adds the background to the list of installed backgrounds

Parameters:

background

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

type_

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

for_dark_theme

Pass true if the background is set for a dark theme