public static class TdApi.ProfileAccentColor extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ProfileAccentColors |
darkThemeColors
Accent colors expected to be used in dark themes.
|
int |
id
Profile accent color identifier.
|
TdApi.ProfileAccentColors |
lightThemeColors
Accent colors expected to be used in light themes.
|
int |
minChannelChatBoostLevel
The minimum chat boost level required to use the color in a channel chat.
|
int |
minSupergroupChatBoostLevel
The minimum chat boost level required to use the color in a supergroup chat.
|
| Constructor and Description |
|---|
ProfileAccentColor()
Contains information about supported accent color for user profile photo background.
|
ProfileAccentColor(int id,
TdApi.ProfileAccentColors lightThemeColors,
TdApi.ProfileAccentColors darkThemeColors,
int minSupergroupChatBoostLevel,
int minChannelChatBoostLevel)
Contains information about supported accent color for user profile photo background.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int id
public TdApi.ProfileAccentColors lightThemeColors
public TdApi.ProfileAccentColors darkThemeColors
public int minSupergroupChatBoostLevel
public int minChannelChatBoostLevel
public static final int CONSTRUCTOR
public ProfileAccentColor()
public ProfileAccentColor(int id,
TdApi.ProfileAccentColors lightThemeColors,
TdApi.ProfileAccentColors darkThemeColors,
int minSupergroupChatBoostLevel,
int minChannelChatBoostLevel)
id - Profile accent color identifier.lightThemeColors - Accent colors expected to be used in light themes.darkThemeColors - Accent colors expected to be used in dark themes.minSupergroupChatBoostLevel - The minimum chat boost level required to use the color in a supergroup chat.minChannelChatBoostLevel - The minimum chat boost level required to use the color in a channel chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object