public static class TdApi.SetBackground extends TdApi.Function
Returns Background
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.InputBackground |
background
The input background to use; pass null to create a new filled backgrounds or to remove the current background.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
forDarkTheme
True, if the background is chosen for dark theme.
|
TdApi.BackgroundType |
type
Background type; pass null to use the default type of the remote background or to remove the current background.
|
Constructor and Description |
---|
SetBackground()
Default constructor for a function, which changes the background selected by the user; adds background to the list of installed backgrounds.
|
SetBackground(TdApi.InputBackground background,
TdApi.BackgroundType type,
boolean forDarkTheme)
Creates a function, which changes the background selected by the user; adds background to the list of installed backgrounds.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputBackground background
public TdApi.BackgroundType type
public boolean forDarkTheme
public static final int CONSTRUCTOR
public SetBackground()
Returns Background
public SetBackground(TdApi.InputBackground background, TdApi.BackgroundType type, boolean forDarkTheme)
Returns Background
background
- The input background to use; pass null to create a new filled backgrounds or to remove the current background.type
- Background type; pass null to use the default type of the remote background or to remove the current background.forDarkTheme
- True, if the background is chosen for dark theme.public int getConstructor()
getConstructor
in class TdApi.Function