- Enclosing class:
- TdApi
Changes the background selected by
the user; adds background to the list
of installed backgrounds.
Returns
Background
-
Field Summary
Modifier and TypeFieldDescriptionThe input background to use; pass null to create a new filled background or to remove the current background.static final int
boolean
Pass true if the background is changed for a dark theme.Background type; pass null to use the default type of the remote background or to remove the current background. -
Constructor Summary
ConstructorDescriptionChanges the background selected by the user; adds background to the list of installed backgrounds.SetBackground
(TdApi.InputBackground background, TdApi.BackgroundType type, boolean forDarkTheme) Changes the background selected by the user; adds background to the list of installed backgrounds.SetBackground
(DataInput input) Changes the background selected by the user; adds background to the list of installed backgrounds. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
background
The input background to use; pass null to create a new filled background 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
public boolean forDarkThemePass true if the background is changed for a dark theme. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetBackground
public SetBackground()Changes the background selected by the user; adds background to the list of installed backgrounds. ReturnsBackground
-
SetBackground
public SetBackground(TdApi.InputBackground background, TdApi.BackgroundType type, boolean forDarkTheme) Changes the background selected by the user; adds background to the list of installed backgrounds. ReturnsBackground
- Parameters:
background
- InputBackground The input background to use; pass null to create a new filled background or to remove the current background.type
- BackgroundType Background type; pass null to use the default type of the remote background or to remove the current background.forDarkTheme
- boolean Pass true if the background is changed for a dark theme.
-
SetBackground
Changes the background selected by the user; adds background to the list of installed backgrounds. ReturnsBackground
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-