Package org.drinkless.tdlib
Class TdApi.SetBackground
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetBackground
-
- Enclosing class:
- TdApi
public static class TdApi.SetBackground extends TdApi.Function
Changes the background selected by the user; adds background to the list of installed backgrounds.Returns
Background
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.InputBackgroundbackgroundThe input background to use; pass null to create a new filled backgrounds or to remove the current background.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanforDarkThemeTrue, if the background is chosen for dark theme.TdApi.BackgroundTypetypeBackground type; pass null to use the default type of the remote background or to remove the current background.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
background
public TdApi.InputBackground background
The input background to use; pass null to create a new filled backgrounds or to remove the current background.
-
type
public TdApi.BackgroundType type
Background type; pass null to use the default type of the remote background or to remove the current background.
-
forDarkTheme
public boolean forDarkTheme
True, if the background is chosen for dark theme.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetBackground
public SetBackground()
Default constructor for a function, which changes the background selected by the user; adds background to the list of installed backgrounds.Returns
Background
-
SetBackground
public 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.Returns
Background- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-