Package org.drinkless.tdlib
Class TdApi.InputChatThemeGift
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputChatTheme
org.drinkless.tdlib.TdApi.InputChatThemeGift
- Enclosing class:
- TdApi
A theme based on an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Name of the upgraded gift. -
Constructor Summary
ConstructorsConstructorDescriptionA theme based on an upgraded gift.InputChatThemeGift(String name) A 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
-
name
Name of the upgraded gift. A gift can be used only in one chat in a time. When the same gift is used in another chat, theme in the previous chat is reset to default. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputChatThemeGift
public InputChatThemeGift()A theme based on an upgraded gift. -
InputChatThemeGift
A theme based on an upgraded gift.- Parameters:
name- Name of the upgraded gift. A gift can be used only in one chat in a time. When the same gift is used in another chat, theme in the previous chat is reset to default.
-
-
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
-