Package org.drinkless.tdlib
Class TdApi.SetGiftSettings
- Enclosing class:
- TdApi
Changes settings for gift receiving for the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The new settings. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes settings for gift receiving for the current user.SetGiftSettings
(TdApi.GiftSettings settings) Creates a function, which changes settings for gift receiving for the current user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
settings
The new settings. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetGiftSettings
public SetGiftSettings()Default constructor for a function, which changes settings for gift receiving for the current user.Returns
Ok
-
SetGiftSettings
Creates a function, which changes settings for gift receiving for the current user.Returns
Ok
- Parameters:
settings
- The new settings.
-
-
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
-