Package org.drinkless.tdlib
Class TdApi.GiftChatTheme
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftChatTheme
- Enclosing class:
- TdApi
Describes a chat theme based on an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Theme settings for a dark chat theme.The gift.Theme settings for a light chat theme. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a chat theme based on an upgraded gift.GiftChatTheme(TdApi.UpgradedGift gift, TdApi.ThemeSettings lightSettings, TdApi.ThemeSettings darkSettings) Describes a chat theme based on an upgraded gift. -
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
-
gift
The gift. -
lightSettings
Theme settings for a light chat theme. -
darkSettings
Theme settings for a dark chat theme. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftChatTheme
public GiftChatTheme()Describes a chat theme based on an upgraded gift. -
GiftChatTheme
public GiftChatTheme(TdApi.UpgradedGift gift, TdApi.ThemeSettings lightSettings, TdApi.ThemeSettings darkSettings) Describes a chat theme based on an upgraded gift.- Parameters:
gift- The gift.lightSettings- Theme settings for a light chat theme.darkSettings- Theme settings for a dark chat theme.
-
-
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
-