Package org.drinkless.tdlib
Class TdApi.UpgradedGiftColors
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UpgradedGiftColors
- Enclosing class:
- TdApi
Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intAccent color to use in dark themes in RGB format.int[]The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.longUnique identifier of the upgraded gift colors.intAccent color to use in light themes in RGB format.int[]The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.longCustom emoji identifier of the model of the upgraded gift.longCustom emoji identifier of the symbol of the upgraded gift. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.UpgradedGiftColors(long id, long modelCustomEmojiId, long symbolCustomEmojiId, int lightThemeAccentColor, int[] lightThemeColors, int darkThemeAccentColor, int[] darkThemeColors) Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public long idUnique identifier of the upgraded gift colors. -
modelCustomEmojiId
public long modelCustomEmojiIdCustom emoji identifier of the model of the upgraded gift. -
symbolCustomEmojiId
public long symbolCustomEmojiIdCustom emoji identifier of the symbol of the upgraded gift. -
lightThemeAccentColor
public int lightThemeAccentColorAccent color to use in light themes in RGB format. -
lightThemeColors
public int[] lightThemeColorsThe list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes. -
darkThemeAccentColor
public int darkThemeAccentColorAccent color to use in dark themes in RGB format. -
darkThemeColors
public int[] darkThemeColorsThe list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpgradedGiftColors
public UpgradedGiftColors()Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews. -
UpgradedGiftColors
public UpgradedGiftColors(long id, long modelCustomEmojiId, long symbolCustomEmojiId, int lightThemeAccentColor, int[] lightThemeColors, int darkThemeAccentColor, int[] darkThemeColors) Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.- Parameters:
id- Unique identifier of the upgraded gift colors.modelCustomEmojiId- Custom emoji identifier of the model of the upgraded gift.symbolCustomEmojiId- Custom emoji identifier of the symbol of the upgraded gift.lightThemeAccentColor- Accent color to use in light themes in RGB format.lightThemeColors- The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes.darkThemeAccentColor- Accent color to use in dark themes in RGB format.darkThemeColors- The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-