public static class TdApi.SetDefaultBackground extends TdApi.Function<TdApi.Background>
Returns Background
| Modifier and Type | Field and Description |
|---|---|
TdApi.InputBackground |
background
The input background to use; pass null to create a new filled background.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
forDarkTheme
Pass true if the background is set for a dark theme.
|
TdApi.BackgroundType |
type
Background type; pass null to use the default type of the remote background; backgroundTypeChatTheme isn't supported.
|
| Constructor and Description |
|---|
SetDefaultBackground()
Default constructor for a function, which sets default background for chats; adds the background to the list of installed backgrounds.
|
SetDefaultBackground(TdApi.InputBackground background,
TdApi.BackgroundType type,
boolean forDarkTheme)
Creates a function, which sets default background for chats; adds the background to the list of installed backgrounds.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputBackground background
public TdApi.BackgroundType type
public boolean forDarkTheme
public static final int CONSTRUCTOR
public SetDefaultBackground()
Returns Background
public SetDefaultBackground(TdApi.InputBackground background, TdApi.BackgroundType type, boolean forDarkTheme)
Returns Background
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.forDarkTheme - Pass true if the background is set for a dark theme.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object