public static class TdApi.Background extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
Document with the background; may be null.
|
long |
id
Unique background identifier.
|
boolean |
isDark
True, if the background is dark and is recommended to be used with dark theme.
|
boolean |
isDefault
True, if this is one of default backgrounds.
|
java.lang.String |
name
Unique background name.
|
TdApi.BackgroundType |
type
Type of the background.
|
Constructor and Description |
---|
Background()
Describes a chat background.
|
Background(long id,
boolean isDefault,
boolean isDark,
java.lang.String name,
TdApi.Document document,
TdApi.BackgroundType type)
Describes a chat background.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public boolean isDefault
public boolean isDark
public java.lang.String name
@Nullable public TdApi.Document document
public TdApi.BackgroundType type
public static final int CONSTRUCTOR
public Background()
public Background(long id, boolean isDefault, boolean isDark, java.lang.String name, TdApi.Document document, TdApi.BackgroundType type)
id
- Unique background identifier.isDefault
- True, if this is one of default backgrounds.isDark
- True, if the background is dark and is recommended to be used with dark theme.name
- Unique background name.document
- Document with the background; may be null. Null only for filled backgrounds.type
- Type of the background.public int getConstructor()
getConstructor
in class TdApi.Object