Class TdApi.ProfileAccentColor
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ProfileAccentColor
- Enclosing class:
- TdApi
Contains information about supported accent color for user profile photo background.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Accent colors expected to be used in dark themes.int
Profile accent color identifier.Accent colors expected to be used in light themes.int
The minimum chat boost level required to use the color in a channel chat.int
The minimum chat boost level required to use the color in a supergroup chat. -
Constructor Summary
ConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
id
public int idProfile accent color identifier. -
lightThemeColors
Accent colors expected to be used in light themes. -
darkThemeColors
Accent colors expected to be used in dark themes. -
minSupergroupChatBoostLevel
public int minSupergroupChatBoostLevelThe minimum chat boost level required to use the color in a supergroup chat. -
minChannelChatBoostLevel
public int minChannelChatBoostLevelThe minimum chat boost level required to use the color in a channel chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ProfileAccentColor
public ProfileAccentColor()Contains information about supported accent color for user profile photo background. -
ProfileAccentColor
public ProfileAccentColor(int id, TdApi.ProfileAccentColors lightThemeColors, TdApi.ProfileAccentColors darkThemeColors, int minSupergroupChatBoostLevel, int minChannelChatBoostLevel) Contains information about supported accent color for user profile photo background.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-