SetDefaultBackground constructor
const
SetDefaultBackground({
- InputBackground? background,
- BackgroundType? type,
- required bool forDarkTheme,
SetDefaultBackground (setDefaultBackground) - TDLib function
Sets default background for chats; adds the background to the list of installed backgrounds.
background: The input background to use; pass null to create a new filled background (optional).type: Background type; pass null to use the default type of the remote background; backgroundTypeChatTheme isn't supported (optional).forDarkTheme: Pass true if the background is set for a dark theme.
Background is returned on completion.
Implementation
const SetDefaultBackground({
this.background,
this.type,
required this.forDarkTheme,
});